2010-09-27 23:05:49 +07:00
|
|
|
/*
|
|
|
|
* arch/arm/plat-omap/include/plat/gpmc-smsc911x.h
|
|
|
|
*
|
|
|
|
* Copyright (C) 2009 Li-Pro.Net
|
|
|
|
* Stephan Linz <linz@li-pro.net>
|
|
|
|
*
|
|
|
|
* Modified from arch/arm/plat-omap/include/plat/gpmc-smc91x.h
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ASM_ARCH_OMAP_GPMC_SMSC911X_H__
|
|
|
|
|
|
|
|
struct omap_smsc911x_platform_data {
|
2011-04-17 05:29:30 +07:00
|
|
|
int id;
|
2010-09-27 23:05:49 +07:00
|
|
|
int cs;
|
|
|
|
int gpio_irq;
|
|
|
|
int gpio_reset;
|
|
|
|
u32 flags;
|
|
|
|
};
|
|
|
|
|
2011-04-26 23:25:56 +07:00
|
|
|
#if defined(CONFIG_SMSC911X) || defined(CONFIG_SMSC911X_MODULE)
|
2010-09-27 23:05:49 +07:00
|
|
|
|
|
|
|
extern void gpmc_smsc911x_init(struct omap_smsc911x_platform_data *d);
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
static inline void gpmc_smsc911x_init(struct omap_smsc911x_platform_data *d)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|