blob: 8cace8189e748a97e2cb1e4621eef22531e6452e [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Magnus Damm12c03f52008-06-09 16:33:55 -07002#ifndef __SMC911X_H__
3#define __SMC911X_H__
4
5#define SMC911X_USE_16BIT (1 << 0)
6#define SMC911X_USE_32BIT (1 << 1)
7
8struct smc911x_platdata {
9 unsigned long flags;
10 unsigned long irq_flags; /* IRQF_... */
Catalin Marinas319edaf2008-10-20 18:15:30 +010011 int irq_polarity;
Magnus Damm12c03f52008-06-09 16:33:55 -070012};
13
14#endif /* __SMC911X_H__ */