Thara Gopinath <thara@xxxxxx> writes: > This patch converts the exisitng smartreflex library into a > platform driver with device , driver registrations using hardware mods. > As part of this Ntarget values are passed as platform data. > > Signed-off-by: Thara Gopinath <thara@xxxxxx> [...] > > +static int __devinit omap_smartreflex_probe(struct platform_device *pdev) This can be __init when using platform_driver_probe()... [...] > > +static struct platform_driver smartreflex_driver = { > + .probe = omap_smartreflex_probe, and shouldn't need to be listed here either, since it will be __init and disappear after boot. Kevin -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html