smc91x: introduce platform data flags V2
This patch introduces struct smc91x_platdata and modifies the driver so bus width is checked during run time using SMC_nBIT() instead of SMC_CAN_USE_nBIT. V2 keeps static configuration lean using SMC_DYNAMIC_BUS_CONFIG. Signed-off-by: NMagnus Damm <damm@igel.co.jp> Acked-by: NNicolas Pitre <nico@cam.org> Signed-off-by: NJeff Garzik <jeff@garzik.org>
Showing
include/linux/smc91x.h
0 → 100644
想要评论请 注册 或 登录