diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-03-06 11:27:43 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-15 12:27:33 -0700 |
commit | fdd3f29eddd1b7c26b3b42e3633afcb22a28fcb3 (patch) | |
tree | bac3ce9e595e7b2cb0fcc5ff0f5c7575e0185e00 /drivers/net/wireless/b43 | |
parent | b85c4a18f6543873eaa71772f6252bc4d403eeb2 (diff) | |
download | blackbird-op-linux-fdd3f29eddd1b7c26b3b42e3633afcb22a28fcb3.tar.gz blackbird-op-linux-fdd3f29eddd1b7c26b3b42e3633afcb22a28fcb3.zip |
drivers/net: use module_pcmcia_driver() in pcmcia drivers
Use the new module_pcmcia_driver() macro to remove the boilerplate
module init/exit code in the pcmcia drivers.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/wireless/b43')
-rw-r--r-- | drivers/net/wireless/b43/pcmcia.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/pcmcia.c b/drivers/net/wireless/b43/pcmcia.c index f2ea2ceec8a9..55f2bd7f8f74 100644 --- a/drivers/net/wireless/b43/pcmcia.c +++ b/drivers/net/wireless/b43/pcmcia.c @@ -130,6 +130,10 @@ static struct pcmcia_driver b43_pcmcia_driver = { .resume = b43_pcmcia_resume, }; +/* + * These are not module init/exit functions! + * The module_pcmcia_driver() helper cannot be used here. + */ int b43_pcmcia_init(void) { return pcmcia_register_driver(&b43_pcmcia_driver); |