]> 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)
commitc00151e69534610b62cd84449d5f1467dc935530
tree6749587fc2b72b646bfa99866b7baf8eb37831a1
parentafe45ecb9db40cfec8a5cc4b7827459b92de86f1
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