X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=package%2Fbroadcom-diag%2Fsrc%2Fdiag.h;h=698c376519bbe1a4d325f8ed98d99c9d9acfa296;hb=7fa8ba095bd2dc2759e586ca9c82f31fdb0cf2f6;hp=eae5872e75f6281b45f615086e7dfacad840d5d7;hpb=968a0c1ddbfd1bb397cc0865138a02319d79d871;p=librecmc%2Flibrecmc.git diff --git a/package/broadcom-diag/src/diag.h b/package/broadcom-diag/src/diag.h index eae5872e75..698c376519 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 */