]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Convert SLAB_KERNEL to GFP_KERNEL in ads7846.c
authorDirk Behme <dirk.behme_at_gmail.com>
Fri, 22 Dec 2006 20:34:37 +0000 (12:34 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 22 Dec 2006 20:34:37 +0000 (12:34 -0800)
ARM: OMAP: Convert SLAB_KERNEL to GFP_KERNEL in ads7846.c

Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/input/touchscreen/ads7846.c

index a47c95eef6604a8baba7a49d89c2daf281c92228..18e85a3441faf9580a50619e5deb24d8cefea53f 100644 (file)
@@ -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;