summaryrefslogtreecommitdiffstats
path: root/drivers/bcma/driver_chipcommon_sflash.c
diff options
context:
space:
mode:
authorJohn W. Linville2012-07-20 18:30:48 +0200
committerJohn W. Linville2012-07-20 18:30:48 +0200
commit90b90f60c4f8e3a8525dfeb4aec46a9c7a29c857 (patch)
tree9b1d8ca6084012a02b302520bc26e5be65ba7b2a /drivers/bcma/driver_chipcommon_sflash.c
parentMerge branch 'net' of git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/... (diff)
parentlibertas: firmware.c: remove duplicated include (diff)
downloadkernel-qcow2-linux-90b90f60c4f8e3a8525dfeb4aec46a9c7a29c857.tar.gz
kernel-qcow2-linux-90b90f60c4f8e3a8525dfeb4aec46a9c7a29c857.tar.xz
kernel-qcow2-linux-90b90f60c4f8e3a8525dfeb4aec46a9c7a29c857.zip
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem
Diffstat (limited to 'drivers/bcma/driver_chipcommon_sflash.c')
-rw-r--r--drivers/bcma/driver_chipcommon_sflash.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/bcma/driver_chipcommon_sflash.c b/drivers/bcma/driver_chipcommon_sflash.c
new file mode 100644
index 000000000000..6e157a58a1d7
--- /dev/null
+++ b/drivers/bcma/driver_chipcommon_sflash.c
@@ -0,0 +1,19 @@
+/*
+ * Broadcom specific AMBA
+ * ChipCommon serial flash interface
+ *
+ * Licensed under the GNU/GPL. See COPYING for details.
+ */
+
+#include <linux/bcma/bcma.h>
+#include <linux/bcma/bcma_driver_chipcommon.h>
+#include <linux/delay.h>
+
+#include "bcma_private.h"
+
+/* Initialize serial flash access */
+int bcma_sflash_init(struct bcma_drv_cc *cc)
+{
+ bcma_err(cc->core->bus, "Serial flash support is broken\n");
+ return 0;
+}