summaryrefslogtreecommitdiff
path: root/drivers/ssb/driver_chipcommon_sflash.c
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2013-01-06 21:48:50 +0100
committerJohn W. Linville <linville@tuxdriver.com>2013-01-09 14:37:09 -0500
commit72a525cbb8037ecf8663720b7087e8e6fc77a49a (patch)
treef4fa7fc864e32a5a83884442fa5cc4c745c9c475 /drivers/ssb/driver_chipcommon_sflash.c
parent79afb22d093993ef50f250f5368b565d0a0b7569 (diff)
downloadlwn-72a525cbb8037ecf8663720b7087e8e6fc77a49a.tar.gz
lwn-72a525cbb8037ecf8663720b7087e8e6fc77a49a.zip
ssb: add place for serial flash driver
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/ssb/driver_chipcommon_sflash.c')
-rw-r--r--drivers/ssb/driver_chipcommon_sflash.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/ssb/driver_chipcommon_sflash.c b/drivers/ssb/driver_chipcommon_sflash.c
new file mode 100644
index 000000000000..866269774e86
--- /dev/null
+++ b/drivers/ssb/driver_chipcommon_sflash.c
@@ -0,0 +1,18 @@
+/*
+ * Sonics Silicon Backplane
+ * ChipCommon serial flash interface
+ *
+ * Licensed under the GNU/GPL. See COPYING for details.
+ */
+
+#include <linux/ssb/ssb.h>
+
+#include "ssb_private.h"
+
+/* Initialize serial flash access */
+int ssb_sflash_init(struct ssb_chipcommon *cc)
+{
+ pr_err("Serial flash support is not implemented yet!\n");
+
+ return -ENOTSUPP;
+}