]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bcma: unregister gpios before unloading bcma
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 3 Feb 2013 22:25:33 +0000 (23:25 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 4 Feb 2013 21:46:24 +0000 (16:46 -0500)
commitc50ae9470e542862f782e2d9c106270152bbf3ce
treed9b17d4f6427e7b2bb35a0ecdf08f1891dbcc9e5
parenta5ffbe0a1993a27072742ef7db6cf9839956fce9
bcma: unregister gpios before unloading bcma

This patch unregisters the gpio chip before bcma gets unloaded.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Reported-by: Piotr Haber <phaber@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bcma/bcma_private.h
drivers/bcma/driver_gpio.c
drivers/bcma/main.c