ar71xx: mach-rbspi: fix 74x164 support
[openwrt/openwrt.git] / target / linux / ar71xx / files / arch / mips / ath79 / mach-rbspi.c
index 4cdc171de1ccddaea0b00a939e215d2e5926e4f2..1045dfc6e7d3fe9d59407d07c8bc143ab8b6d9df 100644 (file)
@@ -488,6 +488,7 @@ static struct gpio_keys_button rblhg_gpio_keys[] __initdata = {
 
 static struct gen_74x164_chip_platform_data rbspi_ssr_data = {
        .base = RBSPI_SSR_GPIO_BASE,
+       .num_registers = 1,
 };
 
 /* the spi-ath79 driver can only natively handle CS0. Other CS are bit-banged */