bcma: move initializing of struct bcma_bus to own function.
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 22 Jul 2011 23:20:06 +0000 (01:20 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 8 Aug 2011 18:29:23 +0000 (14:29 -0400)
commit67a5c29e1623edda5ff3f0355af533e72a245ad9
tree1ef3954a0c8f0d2d7b4a6d8167e121da5bfdda0f
parent982eee67dd703a37edc3532b85e3a4122b5eb90b
bcma: move initializing of struct bcma_bus to own function.

This makes it possible to use this code in some other method.

Acked-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bcma/scan.c