summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorGeorge Shore <george@georgeshore.com>2010-01-21 12:40:49 +0100
committerGrant Likely <grant.likely@secretlab.ca>2010-01-21 15:24:37 +0100
commit20a588fcc862df79d8fcafbc41950e3ae93dea09 (patch)
tree0bf9530b21c83f9dffd668f5da2f74e22a3cff63 /drivers/spi
parentspi/dw_spi: enable platform specific chipselect. (diff)
downloadlinux-20a588fcc862df79d8fcafbc41950e3ae93dea09.tar.xz
linux-20a588fcc862df79d8fcafbc41950e3ae93dea09.zip
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)