diff mbox

[2/5] spi/dw_spi: add return value to empty mrst_spi_debugfs_init()

Message ID 1264074052-2214-2-git-send-email-george@georgeshore.com (mailing list archive)
State Accepted
Headers show

Commit Message

George Shore Jan. 21, 2010, 11:40 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/spi/dw_spi.c b/drivers/spi/dw_spi.c
index f713af8..56d53a5 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)