]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
i2c-powermac: Fix section for probe and remove functions
authorUwe Kleine-Koenig <ukleinek@informatik.uni-freiburg.de>
Wed, 24 Sep 2008 11:39:21 +0000 (13:39 +0200)
committerJean Delvare <khali@mahadeva.delvare>
Wed, 24 Sep 2008 11:39:21 +0000 (13:39 +0200)
commit4ebb52d34fac2904e541ccfa8e32126db836fa92
tree38ca11136004f87e0f0a4d853d08a83581f71e80
parentfb478da5ba69ecf40729ae8ab37ca406b1e5be48
i2c-powermac: Fix section for probe and remove functions

__devexit for i2c_powermac_probe is obviously wrong.  In the definition
of struct platform_driver i2c_powermac_driver the remove function
i2c_powermac_remove is wrapped in __devexit_p, so it should be defined
using __devexit.

Signed-off-by: Uwe Kleine-Koenig <ukleinek@informatik.uni-freiburg.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-powermac.c