]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: mvebu: remove subsys_initcall
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Tue, 13 Aug 2013 12:25:22 +0000 (14:25 +0200)
committerJason Cooper <jason@lakedaemon.net>
Mon, 30 Sep 2013 14:58:39 +0000 (14:58 +0000)
commit9fa2be415f1cf5913d73f613b9aa7b5ac32e3502
treedb12b441d88b09fc6e2ea4fa475dc53fcff318b8
parent6668b339dc1c89e67f305061e442fa77d02091a7
PCI: mvebu: remove subsys_initcall

This removes the subsys_initcall from the driver and converts it to
a normal platform_driver. Also, drvdata is set and a remove functions
is added to disable the clock and free resources. As pci driver removal
currently is not supported, set .suppress_bind_attrs to permit unbinding.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/pci/host/pci-mvebu.c