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 Cc: Jeff Garzik Cc: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik
#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__ */