Unregisrtering a platform driver from another platform driver.

Russell King - ARM Linux linux at arm.linux.org.uk
Wed Jan 21 05:49:17 PST 2015


On Wed, Jan 21, 2015 at 10:27:35AM +0000, Andy Ng wrote:
> Dear Colleagues,
> 
> I would like to call "platform_driver_unregister" for a static module
> A from a static  module B.
> The static module A register its name  "physmap-flash".
> 
> Is there any kernel API to search and find the "physmap-flash" device,
> and then call unregistered with "platform_driver_unregister" from
> module B.

Why do you want to do this?  What is your motivation?

-- 
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.



More information about the linux-arm-kernel mailing list