hwmon: jz4740: Staticise jz4740_hwmon_driver
PATCH 1/1 hwmon: jz4740: Staticise jz4740_hwmon_driver
It is not used outside this driver so no need to make the symbol global.
Signed-off-by Axel Lin <[email protected]>
--- drivers/hwmon/jz4740-hwmon.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/hwmon/jz4740-hwmon.c +1 -1
@@ -203,7 +203,7 @@ static int __devexit jz4740_hwmon_remove(struct platform_device *pdev)return 0 ; } -struct platform_driver jz4740_hwmon_driver = { +static struct platform_driver jz4740_hwmon_driver = { .probe = jz4740_hwmon_probe, .remove =__devexit_p (jz4740_hwmon_remove), .driver = {
Signature · 9 lines
1.7.5.4 _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 3 lines · Axel Lin
It is not used outside this driver so no need to make the symbol global.
Signed-off-by Axel Lin <[email protected]>
Thanks
Quoted 17 lines
--- drivers/hwmon/jz4740-hwmon.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/hwmon/jz4740-hwmon.c +1
-1@@ -203,7 +203,7 @@ static int __devexit jz4740_hwmon_remove(struct platform_device *pdev)return 0 ; } -struct platform_driver jz4740_hwmon_driver = { +static struct platform_driver jz4740_hwmon_driver = { .probe = jz4740_hwmon_probe, .remove =__devexit_p (jz4740_hwmon_remove), .driver = {
Guenter Roeck
AppliedQuoted 3 lines · Axel Lin
It is not used outside this driver so no need to make the symbol global.
Signed-off-by Axel Lin <[email protected]>
Applied.
Thanks,
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors