Title: [8874] trunk/arch/blackfin/mach-bf548/include/mach/gpio.h: bfin: add ifdef protection to bf548 gpio header
- Revision
- 8874
- Author
- vapier
- Date
- 2010-06-02 01:37:10 -0400 (Wed, 02 Jun 2010)
Log Message
bfin: add ifdef protection to bf548 gpio header
Modified Paths
Diff
Modified: trunk/arch/blackfin/mach-bf548/include/mach/gpio.h (8873 => 8874)
--- trunk/arch/blackfin/mach-bf548/include/mach/gpio.h 2010-06-02 05:00:21 UTC (rev 8873)
+++ trunk/arch/blackfin/mach-bf548/include/mach/gpio.h 2010-06-02 05:37:10 UTC (rev 8874)
@@ -3,6 +3,10 @@
* Licensed under the GPL-2 or later.
*/
+
+#ifndef _MACH_GPIO_H_
+#define _MACH_GPIO_H_
+
#define GPIO_PA0 0
#define GPIO_PA1 1
#define GPIO_PA2 2
@@ -166,6 +170,8 @@
#define MAX_BLACKFIN_GPIOS 160
+#ifndef __ASSEMBLY__
+
struct gpio_port_t {
unsigned short port_fer;
unsigned short dummy1;
@@ -191,3 +197,7 @@
unsigned short inen;
unsigned int mux;
};
+
+#endif
+
+#endif /* _MACH_GPIO_H_ */
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits