diff options
author | Uwe Kleine-König <ukleinek@strlen.de> | 2008-09-21 17:52:08 -0400 |
---|---|---|
committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-09-22 03:51:03 -0400 |
commit | 787928e7473246991177e8cd7eeaf4cb1b3a8fbc (patch) | |
tree | f2964b7b6f4ee9a117cfae8280b681da333f0dbc /arch/avr32/mach-at32ap/clock.c | |
parent | d6634db8fe1784d0a8e4e156970fec034708446e (diff) |
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 <ukleinek@strlen.de>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/mach-at32ap/clock.c')
0 files changed, 0 insertions, 0 deletions