diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-13 14:15:50 -0400 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2008-04-18 14:05:32 -0400 |
commit | 98b843be56079ad26fe4b9e421fd11b0598b85f3 (patch) | |
tree | 5504c8dd8a0dd8de65f842bbcf871a38da757c3e | |
parent | 261172fd1b23769bc7632047e2cb826c9b8b1a50 (diff) |
mmc: proper prototypes for mmc_attach_*()
This patch adds proper prototypes for mmc_attach_*() in
drivers/mmc/core/core.h
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
-rw-r--r-- | drivers/mmc/core/core.c | 4 | ||||
-rw-r--r-- | drivers/mmc/core/core.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index ab91b02b2bff..01ced4c5a61d 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c | |||
@@ -35,10 +35,6 @@ | |||
35 | #include "sd_ops.h" | 35 | #include "sd_ops.h" |
36 | #include "sdio_ops.h" | 36 | #include "sdio_ops.h" |
37 | 37 | ||
38 | extern int mmc_attach_mmc(struct mmc_host *host, u32 ocr); | ||
39 | extern int mmc_attach_sd(struct mmc_host *host, u32 ocr); | ||
40 | extern int mmc_attach_sdio(struct mmc_host *host, u32 ocr); | ||
41 | |||
42 | static struct workqueue_struct *workqueue; | 38 | static struct workqueue_struct *workqueue; |
43 | 39 | ||
44 | /* | 40 | /* |
diff --git a/drivers/mmc/core/core.h b/drivers/mmc/core/core.h index cfa8e15b5923..cdb332b7dedc 100644 --- a/drivers/mmc/core/core.h +++ b/drivers/mmc/core/core.h | |||
@@ -46,6 +46,10 @@ void mmc_rescan(struct work_struct *work); | |||
46 | void mmc_start_host(struct mmc_host *host); | 46 | void mmc_start_host(struct mmc_host *host); |
47 | void mmc_stop_host(struct mmc_host *host); | 47 | void mmc_stop_host(struct mmc_host *host); |
48 | 48 | ||
49 | int mmc_attach_mmc(struct mmc_host *host, u32 ocr); | ||
50 | int mmc_attach_sd(struct mmc_host *host, u32 ocr); | ||
51 | int mmc_attach_sdio(struct mmc_host *host, u32 ocr); | ||
52 | |||
49 | extern int use_spi_crc; | 53 | extern int use_spi_crc; |
50 | 54 | ||
51 | #endif | 55 | #endif |