diff options
-rw-r--r-- | drivers/misc/tifm_7xx1.c | 4 | ||||
-rw-r--r-- | drivers/mmc/tifm_sd.c | 5 | ||||
-rw-r--r-- | include/linux/tifm.h | 2 |
3 files changed, 5 insertions, 6 deletions
diff --git a/drivers/misc/tifm_7xx1.c b/drivers/misc/tifm_7xx1.c index 50c4cdabb654..375b56742f2b 100644 --- a/drivers/misc/tifm_7xx1.c +++ b/drivers/misc/tifm_7xx1.c | |||
@@ -13,7 +13,7 @@ | |||
13 | #include <linux/dma-mapping.h> | 13 | #include <linux/dma-mapping.h> |
14 | 14 | ||
15 | #define DRIVER_NAME "tifm_7xx1" | 15 | #define DRIVER_NAME "tifm_7xx1" |
16 | #define DRIVER_VERSION "0.6" | 16 | #define DRIVER_VERSION "0.7" |
17 | 17 | ||
18 | static void tifm_7xx1_eject(struct tifm_adapter *fm, struct tifm_dev *sock) | 18 | static void tifm_7xx1_eject(struct tifm_adapter *fm, struct tifm_dev *sock) |
19 | { | 19 | { |
@@ -91,7 +91,7 @@ static irqreturn_t tifm_7xx1_isr(int irq, void *dev_id) | |||
91 | if (fm->sockets[cnt]) { | 91 | if (fm->sockets[cnt]) { |
92 | if (sock_irq_status && | 92 | if (sock_irq_status && |
93 | fm->sockets[cnt]->signal_irq) | 93 | fm->sockets[cnt]->signal_irq) |
94 | sock_irq_status = fm->sockets[cnt]-> | 94 | fm->sockets[cnt]-> |
95 | signal_irq(fm->sockets[cnt], | 95 | signal_irq(fm->sockets[cnt], |
96 | sock_irq_status); | 96 | sock_irq_status); |
97 | 97 | ||
diff --git a/drivers/mmc/tifm_sd.c b/drivers/mmc/tifm_sd.c index 37fe0c3ecb85..2adfe3467019 100644 --- a/drivers/mmc/tifm_sd.c +++ b/drivers/mmc/tifm_sd.c | |||
@@ -323,8 +323,8 @@ change_state: | |||
323 | } | 323 | } |
324 | 324 | ||
325 | /* Called from interrupt handler */ | 325 | /* Called from interrupt handler */ |
326 | static unsigned int tifm_sd_signal_irq(struct tifm_dev *sock, | 326 | static void tifm_sd_signal_irq(struct tifm_dev *sock, |
327 | unsigned int sock_irq_status) | 327 | unsigned int sock_irq_status) |
328 | { | 328 | { |
329 | struct tifm_sd *host; | 329 | struct tifm_sd *host; |
330 | unsigned int host_status = 0, fifo_status = 0; | 330 | unsigned int host_status = 0, fifo_status = 0; |
@@ -395,7 +395,6 @@ done: | |||
395 | dev_dbg(&sock->dev, "host_status %x, fifo_status %x\n", | 395 | dev_dbg(&sock->dev, "host_status %x, fifo_status %x\n", |
396 | host_status, fifo_status); | 396 | host_status, fifo_status); |
397 | spin_unlock(&sock->lock); | 397 | spin_unlock(&sock->lock); |
398 | return sock_irq_status; | ||
399 | } | 398 | } |
400 | 399 | ||
401 | static void tifm_sd_prepare_data(struct tifm_sd *host, struct mmc_command *cmd) | 400 | static void tifm_sd_prepare_data(struct tifm_sd *host, struct mmc_command *cmd) |
diff --git a/include/linux/tifm.h b/include/linux/tifm.h index 9caa28e2a63c..5b0baef4e61f 100644 --- a/include/linux/tifm.h +++ b/include/linux/tifm.h | |||
@@ -91,7 +91,7 @@ struct tifm_dev { | |||
91 | tifm_media_id media_id; | 91 | tifm_media_id media_id; |
92 | unsigned int socket_id; | 92 | unsigned int socket_id; |
93 | 93 | ||
94 | unsigned int (*signal_irq)(struct tifm_dev *sock, | 94 | void (*signal_irq)(struct tifm_dev *sock, |
95 | unsigned int sock_irq_status); | 95 | unsigned int sock_irq_status); |
96 | 96 | ||
97 | struct tifm_driver *drv; | 97 | struct tifm_driver *drv; |