1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 16:43:09 +02:00

xburst: nanonote: fix atusb compile error

This commit is contained in:
Xiangfu 2012-03-14 16:52:48 +08:00
parent 1723a7c7db
commit a4f94608b1
4 changed files with 11 additions and 11 deletions

View File

@ -1,4 +1,4 @@
From bccd0d495b5c88a7f2cc184e2babe47669eb6a65 Mon Sep 17 00:00:00 2001
From b4e4f47e778bba5c86a3725cd447e0bfda545ae0 Mon Sep 17 00:00:00 2001
From: Xiangfu Liu <xiangfu@sharism.cc>
Date: Tue, 6 Mar 2012 11:40:52 +0800
Subject: [PATCH 25/28] first-patch-for-atBen
@ -5003,7 +5003,7 @@ index 0000000..431bfe0
+MODULE_LICENSE("GPL");
diff --git a/drivers/ieee802154/spi_atusb.c b/drivers/ieee802154/spi_atusb.c
new file mode 100644
index 0000000..04d9fb3
index 0000000..44a9d03
--- /dev/null
+++ b/drivers/ieee802154/spi_atusb.c
@@ -0,0 +1,750 @@
@ -5628,8 +5628,8 @@ index 0000000..04d9fb3
+ goto err_free;
+ }
+
+ set_irq_chip_data(atusb->slave_irq, atusb);
+ set_irq_chip_and_handler(atusb->slave_irq, &atusb_irq_chip,
+ irq_set_chip_data(atusb->slave_irq, atusb);
+ irq_set_chip_and_handler(atusb->slave_irq, &atusb_irq_chip,
+ handle_level_irq);
+
+ /* FIXME prepare USB IRQ */
@ -5681,8 +5681,8 @@ index 0000000..04d9fb3
+ usb_kill_urb(atusb->irq_urb);
+ spi_master_put(atusb->master);
+err_slave_irq:
+ set_irq_chained_handler(atusb->slave_irq, NULL);
+ set_irq_chip_data(atusb->slave_irq, NULL);
+ irq_set_chained_handler(atusb->slave_irq, NULL);
+ irq_set_chip_data(atusb->slave_irq, NULL);
+ irq_free_desc(atusb->slave_irq);
+err_free:
+ return retval;
@ -5707,8 +5707,8 @@ index 0000000..04d9fb3
+
+ spi_unregister_master(master);
+
+ set_irq_chained_handler(atusb->slave_irq, NULL);
+ set_irq_chip_data(atusb->slave_irq, NULL);
+ irq_set_chained_handler(atusb->slave_irq, NULL);
+ irq_set_chip_data(atusb->slave_irq, NULL);
+ irq_free_desc(atusb->slave_irq);
+
+ spi_master_put(master);

View File

@ -1,4 +1,4 @@
From 2fd472aacc48a811aa3fd794471ddd6a98eefda2 Mon Sep 17 00:00:00 2001
From 0ca62427c203df79d23a6c1b7769f482ca07c4f1 Mon Sep 17 00:00:00 2001
From: Xiangfu Liu <xiangfu@sharism.cc>
Date: Tue, 1 Nov 2011 21:15:26 +0800
Subject: [PATCH 26/28] set atben GPIO to func_none

View File

@ -1,4 +1,4 @@
From 16c351c85d9a992f4dba97dbaa036a2151c22223 Mon Sep 17 00:00:00 2001
From 1e20e109415b0bcdcc08e5c4e9d912115028f8c2 Mon Sep 17 00:00:00 2001
From: Xiangfu Liu <xiangfu@sharism.cc>
Date: Tue, 6 Mar 2012 11:42:29 +0800
Subject: [PATCH 27/28] Revert-mmc-sdio-optimized-SDIO-IRQ-handling

View File

@ -1,4 +1,4 @@
From 194ec3115df0abbcccb58711f70424176fc1bc45 Mon Sep 17 00:00:00 2001
From 4c195e3779466b301d032d064e8b592a0d181f5b Mon Sep 17 00:00:00 2001
From: Xiangfu Liu <xiangfu@sharism.cc>
Date: Tue, 6 Mar 2012 11:46:49 +0800
Subject: [PATCH 28/28] add-nanonote-logo