aboutsummaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorGeorge Shore2010-01-21 11:40:49 +0000
committerGrant Likely2010-01-21 07:24:37 -0700
commit20a588fcc862df79d8fcafbc41950e3ae93dea09 (patch)
tree0bf9530b21c83f9dffd668f5da2f74e22a3cff63 /drivers/spi
parent83fe518a839e317480e50a138ef4acd73510d7ce (diff)
spi/dw_spi: add return value to empty mrst_spi_debugfs_init()
As per the function signature. Signed-off-by: George Shore <george@georgeshore.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/dw_spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/dw_spi.c b/drivers/spi/dw_spi.c
index d948ef4f3910..cf945a4cc419 100644
--- a/drivers/spi/dw_spi.c
+++ b/drivers/spi/dw_spi.c
@@ -152,6 +152,7 @@ static void mrst_spi_debugfs_remove(struct dw_spi *dws)
#else
static inline int mrst_spi_debugfs_init(struct dw_spi *dws)
{
+ return 0;
}
static inline void mrst_spi_debugfs_remove(struct dw_spi *dws)