]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers/gpio/vx855_gpio.c needs slab.h
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 25 May 2011 00:13:43 +0000 (17:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 25 May 2011 15:39:56 +0000 (08:39 -0700)
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>
drivers/gpio/vx855_gpio.c

index 8a98ee5d5f6c636a93c6c88f43c1ab497b02fb6e..ef5aabd8b8b779a52dbc34d1f70465a3c9f3adec 100644 (file)
@@ -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>