spi/dw_spi: add return value to empty mrst_spi_debugfs_init()
George Shore [Thu, 21 Jan 2010 11:40:49 +0000 (11:40 +0000)]
As per the function signature.

Signed-off-by: George Shore <george@georgeshore.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

drivers/spi/dw_spi.c

index d948ef4..cf945a4 100644 (file)
@@ -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)