Re: [PATCH 35/58] move omap_wdt's probe function to .devinit.text

2009-03-29 Thread Wim Van Sebroeck
Hi Uwe, A pointer to omap_wdt_probe is passed to the core via platform_driver_register and so the function must not disappear when the .init sections are discarded. Otherwise (if also having HOTPLUG=y) unbinding and binding a device to the driver via sysfs will result in an oops as does a

Re: [PATCH 35/58] move omap_wdt's probe function to .devinit.text

2009-03-29 Thread Uwe Kleine-König
Hi Wim, On Sun, Mar 29, 2009 at 08:09:12PM +0200, Wim Van Sebroeck wrote: Hi Uwe, A pointer to omap_wdt_probe is passed to the core via platform_driver_register and so the function must not disappear when the .init sections are discarded. Otherwise (if also having HOTPLUG=y) unbinding