summaryrefslogtreecommitdiff
path: root/include/linux/smc911x.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/smc911x.h')
-rw-r--r--include/linux/smc911x.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/smc911x.h b/include/linux/smc911x.h
new file mode 100644
index 00000000..521f3714
--- /dev/null
+++ b/include/linux/smc911x.h
@@ -0,0 +1,13 @@
+#ifndef __SMC911X_H__
+#define __SMC911X_H__
+
+#define SMC911X_USE_16BIT (1 << 0)
+#define SMC911X_USE_32BIT (1 << 1)
+
+struct smc911x_platdata {
+ unsigned long flags;
+ unsigned long irq_flags; /* IRQF_... */
+ int irq_polarity;
+};
+
+#endif /* __SMC911X_H__ */