Re: [PATCH] Use platform_driver_probe for pdc platform driver

From: Haavard Skinnemoen
Date: Mon Sep 22 2008 - 04:31:15 EST


Uwe Kleine-KÃnig <ukleinek@xxxxxxxxx> wrote:
> 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@xxxxxxxxx>
> Cc: Haavard Skinnemoen <haavard.skinnemoen@xxxxxxxxx>

Applied both this and the pio one. Thanks!

Haavard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/