mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
danube gpio cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9740 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -60,9 +60,7 @@
|
||||
static int port_major = 0;
|
||||
static int danube_port_pin_usage[MAX_PORTS][PINS_PER_PORT]; // Map for pin usage
|
||||
static u32 danube_port_bases[MAX_PORTS]
|
||||
= { DANUBE_GPIO,
|
||||
DANUBE_GPIO + 0x00000030
|
||||
}; // Base addresses for ports
|
||||
= { DANUBE_GPIO_BASE_ADDR, DANUBE_GPIO_P0_PUDEN };
|
||||
|
||||
static struct semaphore port_sem;
|
||||
|
||||
@@ -827,8 +825,6 @@ danube_port_init (void)
|
||||
int t = 0;
|
||||
int i = 0;
|
||||
int err = 0;
|
||||
u32 pins = 0;
|
||||
|
||||
printk ("Danube Port Initialization\n");
|
||||
|
||||
sema_init (&port_sem, 1);
|
||||
|
||||
Reference in New Issue
Block a user