diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-09-01 10:52:41 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-09-03 09:49:06 +0200 |
commit | 655dc6b8aa3b1b1340d257a33b6e05569e089f25 (patch) | |
tree | 2546c52c23e97fe91dc68e1b969a1d57e75e19b1 /include | |
parent | 75880ac0ad974e9b2a2f2c77d00463bf7f354bc2 (diff) | |
download | barebox-655dc6b8aa3b1b1340d257a33b6e05569e089f25.tar.gz barebox-655dc6b8aa3b1b1340d257a33b6e05569e089f25.tar.xz |
smc911x: add support to pass the shift via platform data
switch ipe337: to it at the same time to do not brake it
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/smc911x.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/smc911x.h b/include/smc911x.h new file mode 100644 index 0000000000..148906b925 --- /dev/null +++ b/include/smc911x.h @@ -0,0 +1,18 @@ +/* + * (C) Copyright 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> + * + * Under GPLv2 + */ + +#ifndef __SMC911X_PLATFORM_H_ +#define __SMC911X_PLATFORM_H_ + +/** + * @brief Platform dependent feature: + * Pass pointer to this structure as part of device_d -> platform_data + */ +struct smc911x_plat { + int shift; +}; + +#endif /* __SMC911X_PLATFORM_H_ */ |