Premi, Sanjeev had written, on 10/22/2010 04:41 AM, the following:

During module_init I used omap_device_build() to create the
omap_device.
But when trying to implement the module_exit, I couldn't find the
corresponding 'destructor'.
omap_device_build essentially does  a platform_device register today
and hence its not something to be done from a insmod'able 'driver'.

[sp] How does this work for - say dspbridge - where the DSP as device
may not be 'registered' until it is really expected to be used?

arch/arm/mach-omap2/dspbridge.c? ;)

--
Regards,
Nishanth Menon
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to