ssb: extif: fix compile errors
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 26 Nov 2012 23:31:55 +0000 (00:31 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 30 Nov 2012 18:38:14 +0000 (13:38 -0500)
commit0362063b7be97f6f8e2c644b970f5726489aacdf
tree11230e5afa3c4c74499a5dfa895a419a22b57ea4
parent4a7267c9a03b9627e5e85c80b307eb4541bab902
ssb: extif: fix compile errors

If CONFIG_SSB_EMBEDDED or CONFIG_SSB_DRIVER_MIPS is set and
CONFIG_SSB_DRIVER_EXTIF is not set, it will cause compile problems
because of missing functions. This patch fixes these problems.

The mips driver now also uses ssb_chipco_available() instead of
checking bus->chipco.dev manually.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/ssb/driver_mipscore.c
include/linux/ssb/ssb_driver_extif.h