update brcm-2.4 to 2.4.35.4, integrate new broadcom system code, update broadcom...
[openwrt/svn-archive/archive.git] / target / linux / brcm-2.4 / files / arch / mips / bcm947xx / gpio.c
index c31f58bac6350208386b22cf908306a6d68adc54..37b41e1ec3b9001e986f8879e32e0c7d3adb6e17 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <typedefs.h>
 #include <osl.h>
-#include <bcmutils.h>
 #include <sbutils.h>
 #include <bcmdevs.h>
 
@@ -122,7 +121,7 @@ gpio_init(void)
 {
        int i;
 
-       if (!(gpio_sbh = sb_kattach()))
+       if (!(gpio_sbh = sb_kattach(SB_OSH)))
                return -ENODEV;
 
        sb_gpiosetcore(gpio_sbh);