]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/blackfin/kernel/bfin_gpio.c
Blackfin arch: Fix bug - Run "reboot" hangs bf518-ezbrd
[linux-2.6-omap-h63xx.git] / arch / blackfin / kernel / bfin_gpio.c
index 7f69f43be9878bb573f17c316bb056e14d093e76..44b6c9da6c3562bf39cc6f14c111fd24a7ea635d 100644 (file)
@@ -1172,10 +1172,9 @@ EXPORT_SYMBOL(bfin_gpio_get_value);
  * lives here as we need to force all the GPIO states w/out going through
  * BUG() checks and such.
  */
-void bfin_gpio_reset_spi0_ssel1(void)
+void bfin_reset_boot_spi_cs(unsigned short pin)
 {
-       u16 gpio = P_IDENT(P_SPI0_SSEL1);
-
+       unsigned short gpio = P_IDENT(pin);
        port_setup(gpio, GPIO_USAGE);
        gpio_array[gpio_bank(gpio)]->data_set = gpio_bit(gpio);
        AWA_DUMMY_READ(data_set);