diff options
author | John W. Linville <linville@tuxdriver.com> | 2011-07-15 16:05:24 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-07-15 16:05:24 +0200 |
commit | 95a943c162d74b20d869917bdf5df11293c35b63 (patch) | |
tree | c69d5cb97a4d97b6062a276ecdfa8582535193af /drivers/bcma/main.c | |
parent | net/ps3: Fix gelic RX DMA restart (diff) | |
parent | mac80211: allow driver to disconnect after resume (diff) | |
download | linux-95a943c162d74b20d869917bdf5df11293c35b63.tar.xz linux-95a943c162d74b20d869917bdf5df11293c35b63.zip |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem
Conflicts:
net/bluetooth/l2cap_core.c
Diffstat (limited to 'drivers/bcma/main.c')
-rw-r--r-- | drivers/bcma/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/bcma/main.c b/drivers/bcma/main.c index 08a14a3d667e..873e2e4ac55f 100644 --- a/drivers/bcma/main.c +++ b/drivers/bcma/main.c @@ -149,7 +149,9 @@ int bcma_bus_register(struct bcma_bus *bus) /* Try to get SPROM */ err = bcma_sprom_get(bus); - if (err) { + if (err == -ENOENT) { + pr_err("No SPROM available\n"); + } else if (err) { pr_err("Failed to get SPROM: %d\n", err); return -ENOENT; } |