lin
2025-08-21 57113df3a0e2be01232281fad9a5f2c060567981
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
 * 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 {
   int    id;
   int    cs;
   int    gpio_irq;
   int    gpio_reset;
   u32    flags;
};
 
#if IS_ENABLED(CONFIG_SMSC911X)
 
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