1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

bcm47xx compile fix for .21, thanks to noz

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7337 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
kaloz
2007-05-26 15:54:22 +00:00
parent f7bbf53880
commit 16cbe040ff
10 changed files with 119 additions and 103 deletions

View File

@@ -88,7 +88,11 @@ static struct platform_t platform;
static void register_buttons(struct button_t *b);
static void unregister_buttons(struct button_t *b);
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20)
static void hotplug_button(struct work_struct *work);
#else
static void hotplug_button(struct event_t *event);
#endif
static irqreturn_t button_handler(int irq, void *dev_id, struct pt_regs *regs);
/* leds */