brcm-2.4: rip out all /dev/nvram and nvram setting/committing code from the kernel
[openwrt.git] / target / linux / brcm-2.4 / files / arch / mips / bcm947xx / gpio.c
index c31f58b..a0aba5d 100644 (file)
@@ -9,7 +9,6 @@
  * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
  * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
  *
- * $Id$
  */
 
 #include <linux/module.h>
@@ -20,7 +19,6 @@
 
 #include <typedefs.h>
 #include <osl.h>
-#include <bcmutils.h>
 #include <sbutils.h>
 #include <bcmdevs.h>
 
@@ -122,7 +120,7 @@ gpio_init(void)
 {
        int i;
 
-       if (!(gpio_sbh = sb_kattach()))
+       if (!(gpio_sbh = sb_kattach(SB_OSH)))
                return -ENODEV;
 
        sb_gpiosetcore(gpio_sbh);
This page took 0.021438 seconds and 4 git commands to generate.