diff options
Diffstat (limited to 'drivers/input/touchscreen/ads7846.c')
-rw-r--r-- | drivers/input/touchscreen/ads7846.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/ads7846.c b/drivers/input/touchscreen/ads7846.c index f56d6a0f0624..0517c7387d67 100644 --- a/drivers/input/touchscreen/ads7846.c +++ b/drivers/input/touchscreen/ads7846.c | |||
@@ -189,7 +189,7 @@ static int ads7846_read12_ser(struct device *dev, unsigned command) | |||
189 | { | 189 | { |
190 | struct spi_device *spi = to_spi_device(dev); | 190 | struct spi_device *spi = to_spi_device(dev); |
191 | struct ads7846 *ts = dev_get_drvdata(dev); | 191 | struct ads7846 *ts = dev_get_drvdata(dev); |
192 | struct ser_req *req = kzalloc(sizeof *req, SLAB_KERNEL); | 192 | struct ser_req *req = kzalloc(sizeof *req, GFP_KERNEL); |
193 | int status; | 193 | int status; |
194 | int sample; | 194 | int sample; |
195 | int i; | 195 | int i; |