aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tifm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/tifm.h')
-rw-r--r--include/linux/tifm.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/include/linux/tifm.h b/include/linux/tifm.h
index 3deb0a6c1370..4470961655c5 100644
--- a/include/linux/tifm.h
+++ b/include/linux/tifm.h
@@ -60,13 +60,6 @@ enum {
60 SOCK_MS_SYSTEM = 0x190, 60 SOCK_MS_SYSTEM = 0x190,
61 SOCK_FIFO_ACCESS = 0x200 }; 61 SOCK_FIFO_ACCESS = 0x200 };
62 62
63
64#define TIFM_IRQ_ENABLE 0x80000000
65#define TIFM_IRQ_SOCKMASK(x) (x)
66#define TIFM_IRQ_CARDMASK(x) ((x) << 8)
67#define TIFM_IRQ_FIFOMASK(x) ((x) << 16)
68#define TIFM_IRQ_SETALL 0xffffffff
69
70#define TIFM_CTRL_LED 0x00000040 63#define TIFM_CTRL_LED 0x00000040
71#define TIFM_CTRL_FAST_CLK 0x00000100 64#define TIFM_CTRL_FAST_CLK 0x00000100
72 65
@@ -90,8 +83,8 @@ struct tifm_dev {
90 tifm_media_id media_id; 83 tifm_media_id media_id;
91 unsigned int socket_id; 84 unsigned int socket_id;
92 85
93 void (*signal_irq)(struct tifm_dev *sock, 86 void (*card_event)(struct tifm_dev *sock);
94 unsigned int sock_irq_status); 87 void (*data_event)(struct tifm_dev *sock);
95 88
96 struct tifm_driver *drv; 89 struct tifm_driver *drv;
97 struct device dev; 90 struct device dev;