diff options
| author | Magnus Damm <[email protected]> | 2008-06-09 16:33:55 -0700 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2008-06-11 21:58:11 -0400 |
| commit | 12c03f59c3909159010b87a926f5626d4380d441 (patch) | |
| tree | 3b1b210b33f55697833ef44dec10b8d73912a99b /include/linux | |
| parent | 699559f84bee8b630c1d16fe1bc8e9667d170d65 (diff) | |
smc911x: introduce platform data flags
This patch adds a new header file for platform data information
together with code that adds run time bus width and irq flag support.
Signed-off-by: Magnus Damm <[email protected]>
Cc: Jeff Garzik <[email protected]>
Cc: Paul Mundt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/smc911x.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/smc911x.h b/include/linux/smc911x.h new file mode 100644 index 000000000000..b58f54c24183 --- /dev/null +++ b/include/linux/smc911x.h @@ -0,0 +1,12 @@ +#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_... */ +}; + +#endif /* __SMC911X_H__ */ |