]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: Make i2cdev_notifier_call static
authorShubhrajyoti D <shubhrajyoti@ti.com>
Wed, 23 Nov 2011 10:33:07 +0000 (11:33 +0100)
committerJean Delvare <khali@endymion.delvare>
Wed, 23 Nov 2011 10:33:07 +0000 (11:33 +0100)
commit253bdbe79c4ab6384dc176a05084ad50d39fa905
tree6749587fc2b72b646bfa99866b7baf8eb37831a1
parentf306bb65632157a8443ec2fc26de38ddde6428f1
i2c: Make i2cdev_notifier_call static

The function i2cdev_notifier_call is used only in i2c-dev file
making it static.
Also removes the following sparse warning

drivers/i2c/i2c-dev.c:582:5: warning: symbol 'i2cdev_notifier_call'
was not declared. Should it be static?

Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/i2c-dev.c