RE: hwmod and insertable modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Menon, Nishanth 
> Sent: Friday, October 22, 2010 3:14 PM
> To: Premi, Sanjeev
> Cc: Nayak, Rajendra; linux-omap@xxxxxxxxxxxxxxx
> Subject: Re: hwmod and insertable modules
> 
> 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? ;)

Which repo? On the dspbridge branch on linux-omap, there is not such
file... and dsp.c doesn't seem to be using hwmod; and module_exit
does call platform_device_unregister().
I didn't find any function in omap_device.c that calls/leads to
platform_device_unregister().

This is exactly where I decided to post my query before putting more
effort in the function snippet I posted earlier.

> 
> -- 
> Regards,
> Nishanth Menon
> --
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


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux