X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=package%2Fbroadcom-diag%2Fsrc%2Fdiag.h;h=698c376519bbe1a4d325f8ed98d99c9d9acfa296;hb=232ec2e0d27cf2d28abffa7b4e71198a6b40f75e;hp=5f46d9dd8c9e6fb7d532c9e5edb425c0a26ccfe2;hpb=c2e9789198880e5de157dd5dbeaf64b9e0340d23;p=openwrt.git diff --git a/package/broadcom-diag/src/diag.h b/package/broadcom-diag/src/diag.h index 5f46d9dd8c..698c376519 100644 --- a/package/broadcom-diag/src/diag.h +++ b/package/broadcom-diag/src/diag.h @@ -18,13 +18,12 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - * $Id:$ */ #include #define MODULE_NAME "diag" -#define MAX_GPIO 8 +#define MAX_GPIO 16 #define FLASH_TIME HZ/6 enum polarity_t { @@ -96,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 */