summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2011-05-25 02:13:43 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-25 17:39:56 +0200
commitc5e7043ef784be323750ea4cfdfe004f71c02566 (patch)
tree0d0564af696cb1d90de81729203357f861ca5dc8 /drivers
parentfs/ncpfs/inode.c: suppress used-uninitialised warning (diff)
downloadlinux-c5e7043ef784be323750ea4cfdfe004f71c02566.tar.xz
linux-c5e7043ef784be323750ea4cfdfe004f71c02566.zip
drivers/gpio/vx855_gpio.c needs slab.h
alpha allmodconfig: drivers/gpio/vx855_gpio.c: In function 'vx855gpio_probe': drivers/gpio/vx855_gpio.c:233: error: implicit declaration of function 'kzalloc' drivers/gpio/vx855_gpio.c:233: warning: assignment makes pointer from integer without a cast Cc: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--drivers/gpio/vx855_gpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/vx855_gpio.c b/drivers/gpio/vx855_gpio.c
index 8a98ee5d5f6c..ef5aabd8b8b7 100644
--- a/drivers/gpio/vx855_gpio.c
+++ b/drivers/gpio/vx855_gpio.c
@@ -26,6 +26,7 @@
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/gpio.h>
+#include <linux/slab.h>
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/pci.h>