Sven,

On Mon, 2015-07-20 at 19:10 +0200, Sven Eckelmann wrote:
> Signed-off-by: Sven Eckelmann <s...@open-mesh.com>
> ---
> v2: Rebased to fix conflict with r46207
> 
>  ...79-add-gpio-func-register-for-QCA955x-SoC.patch | 60 
> ++++++++++++++++++++++
>  ...79-add-gpio-func-register-for-QCA955x-SoC.patch | 60 
> ++++++++++++++++++++++
>  2 files changed, 120 insertions(+)
>  create mode 100644 
> target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch
>  create mode 100644 
> target/linux/ar71xx/patches-4.1/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch
> 

<snip>
> ++            reg_base = AR934X_GPIO_REG_OUT_FUNC0;
> ++    } else if (soc_is_qca953x()) {
> ++            reg_base = QCA953X_GPIO_COUNT;
                 ^^^^^^^^
> ++            reg_base = QCA953X_GPIO_REG_OUT_FUNC0;
> ++    } else if (soc_is_qca955x()) {
> ++            gpio_count = QCA955X_GPIO_COUNT;
> ++            reg_base = QCA955X_GPIO_REG_OUT_FUNC0;
> ++    } else {
> ++            BUG();
<snip>

This patch gives me a compile error when building Netgear/wndr3700
claiming that gpio_base is possibly undefined. 

Should the above to be gpio_base and not reg_base?

Steve
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to