aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2011-05-24 20:13:43 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-25 11:39:56 -0400
commitc5e7043ef784be323750ea4cfdfe004f71c02566 (patch)
tree0d0564af696cb1d90de81729203357f861ca5dc8 /drivers/gpio
parent2a5cac17c06f897537f91f0040b3d3c8177f6433 (diff)
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 'drivers/gpio')
-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 @@
26#include <linux/kernel.h> 26#include <linux/kernel.h>
27#include <linux/module.h> 27#include <linux/module.h>
28#include <linux/gpio.h> 28#include <linux/gpio.h>
29#include <linux/slab.h>
29#include <linux/device.h> 30#include <linux/device.h>
30#include <linux/platform_device.h> 31#include <linux/platform_device.h>
31#include <linux/pci.h> 32#include <linux/pci.h>