Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Magnus Damm | 12c03f5 | 2008-06-09 16:33:55 -0700 | [diff] [blame] | 2 | #ifndef __SMC911X_H__ |
| 3 | #define __SMC911X_H__ |
| 4 | |
| 5 | #define SMC911X_USE_16BIT (1 << 0) |
| 6 | #define SMC911X_USE_32BIT (1 << 1) |
| 7 | |
| 8 | struct smc911x_platdata { |
| 9 | unsigned long flags; |
| 10 | unsigned long irq_flags; /* IRQF_... */ |
Catalin Marinas | 319edaf | 2008-10-20 18:15:30 +0100 | [diff] [blame] | 11 | int irq_polarity; |
Magnus Damm | 12c03f5 | 2008-06-09 16:33:55 -0700 | [diff] [blame] | 12 | }; |
| 13 | |
| 14 | #endif /* __SMC911X_H__ */ |