[brcm63xx] Fix nxp_74hc164 driver compile error (builbot)
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-2.6.35 / 211-gen-74x164-gpio-chip-driver.patch
index 105eb6d57ea83193319713407d660718a196b14e..fdb8981e87493d9ca1354aedca14b96a79045988 100644 (file)
@@ -27,7 +27,7 @@
  obj-$(CONFIG_GPIO_PL061)      += pl061.o
 --- /dev/null
 +++ b/drivers/gpio/nxp_74hc164.c
-@@ -0,0 +1,226 @@
+@@ -0,0 +1,227 @@
 +/*
 + *  NXP 74HC164 - output expander  GPIO driver
 + *
@@ -45,6 +45,7 @@
 +#include <linux/init.h>
 +#include <linux/gpio.h>
 +#include <linux/bitops.h>
++#include <linux/slab.h>
 +#include <linux/platform_device.h>
 +#include <linux/nxp_74hc164.h>
 +