]> 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>
Tue, 13 Aug 2013 18:21:01 +0000 (18:21 +0000)
commit117b87cf4015cb9eab5c395e187231a6d728edce
tree99d6888a26f489743bd82e6c6d768688896701e6
parent33d563eaa5d097dfb4f1ec4bcd49b61473abc097
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