patch-2.3.49 linux/arch/arm/kernel/hw-footbridge.c

Next file: linux/arch/arm/kernel/irq.c
Previous file: linux/arch/arm/kernel/entry-common.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.48/linux/arch/arm/kernel/hw-footbridge.c linux/arch/arm/kernel/hw-footbridge.c
@@ -68,13 +68,13 @@
 /*
  * This is a lock for accessing ports GP1_IO_BASE and GP2_IO_BASE
  */
-spinlock_t __netwinder_data gpio_lock = SPIN_LOCK_UNLOCKED;
+spinlock_t gpio_lock = SPIN_LOCK_UNLOCKED;
 
-static unsigned int __netwinder_data current_gpio_op = 0;
-static unsigned int __netwinder_data current_gpio_io = 0;
-static unsigned int __netwinder_data current_cpld = 0;
+static unsigned int current_gpio_op = 0;
+static unsigned int current_gpio_io = 0;
+static unsigned int current_cpld = 0;
 
-void __netwinder_text gpio_modify_op(int mask, int set)
+void gpio_modify_op(int mask, int set)
 {
 	unsigned int new_gpio, changed;
 
@@ -119,7 +119,7 @@
 	}
 }
 
-void __netwinder_text gpio_modify_io(int mask, int in)
+void gpio_modify_io(int mask, int in)
 {
 	/* Open up the SuperIO chip */
 	wb977_open();
@@ -130,7 +130,7 @@
 	wb977_close();
 }
 
-int __netwinder_text gpio_read(void)
+int gpio_read(void)
 {
 	return inb(GP1_IO_BASE) | inb(GP2_IO_BASE) << 8;
 }
@@ -360,7 +360,7 @@
 	wb977_close();
 }
 
-void __netwinder_text cpld_modify(int mask, int set)
+void cpld_modify(int mask, int set)
 {
 	int msk;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)