Skip to content

Commit

Permalink
spi/dw_spi: add return value to empty mrst_spi_debugfs_init()
Browse files Browse the repository at this point in the history
As per the function signature.

Signed-off-by: George Shore <george@georgeshore.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  • Loading branch information
George Shore authored and Grant Likely committed Jan 21, 2010
1 parent 83fe518 commit 20a588f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/spi/dw_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 20a588f

Please sign in to comment.