From 3423920c556eca00d5f3a503417643d072a26539 Mon Sep 17 00:00:00 2001 From: Dirk Behme Date: Fri, 22 Dec 2006 12:34:37 -0800 Subject: [PATCH] ARM: OMAP: Convert SLAB_KERNEL to GFP_KERNEL in ads7846.c ARM: OMAP: Convert SLAB_KERNEL to GFP_KERNEL in ads7846.c Signed-off-by: Dirk Behme Signed-off-by: Tony Lindgren --- drivers/input/touchscreen/ads7846.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/ads7846.c b/drivers/input/touchscreen/ads7846.c index a47c95eef66..18e85a3441f 100644 --- a/drivers/input/touchscreen/ads7846.c +++ b/drivers/input/touchscreen/ads7846.c @@ -201,7 +201,7 @@ static int ads7846_read12_ser(struct device *dev, unsigned command) { struct spi_device *spi = to_spi_device(dev); struct ads7846 *ts = dev_get_drvdata(dev); - struct ser_req *req = kzalloc(sizeof *req, SLAB_KERNEL); + struct ser_req *req = kzalloc(sizeof *req, GFP_KERNEL); int status; int sample; int use_internal; -- 2.41.1