bcma: clean bus initialization code
authorRafał Miłecki <zajec5@gmail.com>
Fri, 16 Jan 2015 19:59:39 +0000 (20:59 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 23 Jan 2015 17:44:58 +0000 (19:44 +0200)
commit799038ea9bbbfee240b85bcb17e487d44cdf5009
tree8ab5ea60a4afa27cd952aa0afc58e2151f65e6bd
parent6b47aacaa4491ab04630ab0aec10d10e6ac9e14f
bcma: clean bus initialization code

This moves main bus init code to the main.c and renames old function to
make its purpose clear.
Thanks to this change we'll also be able to separate scanning from
registration (and support PCIe Gen 2 devices) in the future.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/bcma/bcma_private.h
drivers/bcma/main.c
drivers/bcma/scan.c