projects/linux·commit c5e7043e

drivers/gpio/vx855_gpio.c needs slab.h

c5e7043e · Andrew Morton <[email protected]> · 2011-05-24 17:13:43 -07:00

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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
c5e7043ef784be323750ea4cfdfe004f71c02566
Parents
2a5cac17

Changes

1 files changed · +1 −0

FileStatusAddDelContent
drivers/gpio/vx855_gpio.cmodified+1−0View file

drivers/gpio/vx855_gpio.c

View file
diff --git a/drivers/gpio/vx855_gpio.c b/drivers/gpio/vx855_gpio.c
index 8a98ee5..ef5aabd 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>