[PATCH] Use platform_driver_probe for pdc platform driver

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Uwe Kleine-König
Date: Sunday, September 21, 2008 - 2:52 pm

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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Use platform_driver_probe for pio platform driver, Uwe Kleine-König, (Sun Sep 21, 2:52 pm)
[PATCH] Use platform_driver_probe for pdc platform driver, Uwe Kleine-König, (Sun Sep 21, 2:52 pm)
Re: [PATCH] Use platform_driver_probe for pdc platform driver, Haavard Skinnemoen, (Mon Sep 22, 1:30 am)