Update GPIO-based MMC driver
[openwrt-10.03/.git] / package / mmc_over_gpio / files / mmc_over_gpio.init
index 88d9e410279252c81c3403c4aff383e089534b1b..57c5695d1976f506d3930c0026ced35353c51806 100644 (file)
@@ -3,11 +3,11 @@
 START=90
 
 SYSFS="/sys"
-SYSFS_DRIVERDIR="$SYSFS/bus/platform/drivers/spi-gpio-mmc"
+SYSFS_DRIVERDIR="$SYSFS/bus/platform/drivers/gpiommc"
 
 # add_device(name, DI_pin, DO_pin, CLK_pin, CS_pin, mode)
 add_device() {
-       echo -n "$1" "$2","$3","$4","$5" "$6" > $SYSFS_DRIVERDIR/add
+       echo -n "$1" "$2" "$3" "$4" "$5" "$6" > $SYSFS_DRIVERDIR/add
 }
 
 # remove_device(name)