X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/796a9d1091884a07817e5c140d0ff6a0b8c76235..54bc65b843aec74e628ad455b33511d420bf4351:/package/broadcom-diag/src/diag.h diff --git a/package/broadcom-diag/src/diag.h b/package/broadcom-diag/src/diag.h index eae5872e7..698c37651 100644 --- a/package/broadcom-diag/src/diag.h +++ b/package/broadcom-diag/src/diag.h @@ -95,13 +95,8 @@ static struct platform_t platform; static void register_buttons(struct button_t *b); static void unregister_buttons(struct button_t *b); -#ifndef LINUX_2_4 static void hotplug_button(struct work_struct *work); static irqreturn_t button_handler(int irq, void *dev_id); -#else -static void hotplug_button(struct event_t *event); -static irqreturn_t button_handler(int irq, void *dev_id, struct pt_regs *regs); -#endif /* leds */