+@@ -81,12 +85,12 @@
+ if (!(machine_is_dsmg600()))
+ return 0;
+
+- if (request_irq(DSMG600_RB_IRQ, &dsmg600_reset_handler,
++ if (request_irq(gpio_to_irq(DSMG600_RB_GPIO), &dsmg600_reset_handler,
+ IRQF_DISABLED | IRQF_TRIGGER_LOW, "DSM-G600 reset button",
+ NULL) < 0) {
+
+ printk(KERN_DEBUG "Reset Button IRQ %d not available\n",
+- DSMG600_RB_IRQ);
++ gpio_to_irq(DSMG600_RB_GPIO));
+
+ return -EIO;
+ }
+@@ -114,7 +118,7 @@
+
+ del_timer_sync(&dsmg600_power_timer);
+
+- free_irq(DSMG600_RB_IRQ, NULL);
++ free_irq(gpio_to_irq(DSMG600_RB_GPIO), NULL);
+ }
+
+ module_init(dsmg600_power_init);
+Index: linux-2.6.23.12-armeb/include/asm-arm/arch-ixp4xx/dsmg600.h
+===================================================================
+--- linux-2.6.23.12-armeb.orig/include/asm-arm/arch-ixp4xx/dsmg600.h 2008-01-11 16:20:26.000000000 +1030
++++ linux-2.6.23.12-armeb/include/asm-arm/arch-ixp4xx/dsmg600.h 2008-01-11 16:20:30.000000000 +1030
+@@ -40,18 +40,13 @@
+ /* Buttons */
+
+ #define DSMG600_PB_GPIO 15 /* power button */
+-#define DSMG600_PB_BM (1L << DSMG600_PB_GPIO)
+-
+ #define DSMG600_RB_GPIO 3 /* reset button */
+
+-#define DSMG600_RB_IRQ IRQ_IXP4XX_GPIO3
++/* Power control */
+
+ #define DSMG600_PO_GPIO 2 /* power off */
+
+ /* LEDs */
+
+ #define DSMG600_LED_PWR_GPIO 0
+-#define DSMG600_LED_PWR_BM (1L << DSMG600_LED_PWR_GPIO)
+-
+ #define DSMG600_LED_WLAN_GPIO 14
+-#define DSMG600_LED_WLAN_BM (1L << DSMG600_LED_WLAN_GPIO)