]> git.karo-electronics.de Git - karo-tx-linux.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)
commite5615c30c1c921dda957638ddf9c9437fcb7bb36
treedb12b441d88b09fc6e2ea4fa475dc53fcff318b8
parentbf09b6ae588f7567bcf31d9eff313d4d9fdc664e
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