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 8f56af8cd7a0..c6164b6f476a 100644 --- a/drivers/input/touchscreen/ads7846.c +++ b/drivers/input/touchscreen/ads7846.c | |||
@@ -190,7 +190,7 @@ static int ads7846_read12_ser(struct device *dev, unsigned command) | |||
190 | { | 190 | { |
191 | struct spi_device *spi = to_spi_device(dev); | 191 | struct spi_device *spi = to_spi_device(dev); |
192 | struct ads7846 *ts = dev_get_drvdata(dev); | 192 | struct ads7846 *ts = dev_get_drvdata(dev); |
193 | struct ser_req *req = kzalloc(sizeof *req, SLAB_KERNEL); | 193 | struct ser_req *req = kzalloc(sizeof *req, GFP_KERNEL); |
194 | int status; | 194 | int status; |
195 | int sample; | 195 | int sample; |
196 | int i; | 196 | int i; |