From: Uwe Kleine-König Date: Sun, 21 Sep 2008 21:52:08 +0000 (+0200) Subject: avr32: Use platform_driver_probe for pdc platform driver X-Git-Tag: v2.6.28-rc1~700^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=787928e7473246991177e8cd7eeaf4cb1b3a8fbc;p=pandora-kernel.git avr32: Use platform_driver_probe for pdc platform driver The probe function of the pdc platform driver lives in the init section and so a pdc device that is created after the init section is discarded probably results in an oops. Even if this cannot happen, using platform_driver_probe is cleaner. (If this can happen and should be supported the probe function must live in the devinit section instead.) Signed-off-by: Uwe Kleine-König Signed-off-by: Haavard Skinnemoen --- Reading git-diff-tree failed