diff options
Diffstat (limited to 'drivers/spi/spi_bitbang.c')
-rw-r--r-- | drivers/spi/spi_bitbang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi_bitbang.c b/drivers/spi/spi_bitbang.c index 08c1c57c6128..57289b61d0be 100644 --- a/drivers/spi/spi_bitbang.c +++ b/drivers/spi/spi_bitbang.c | |||
@@ -196,7 +196,7 @@ int spi_bitbang_setup(struct spi_device *spi) | |||
196 | return -EINVAL; | 196 | return -EINVAL; |
197 | 197 | ||
198 | if (!cs) { | 198 | if (!cs) { |
199 | cs = kzalloc(sizeof *cs, SLAB_KERNEL); | 199 | cs = kzalloc(sizeof *cs, GFP_KERNEL); |
200 | if (!cs) | 200 | if (!cs) |
201 | return -ENOMEM; | 201 | return -ENOMEM; |
202 | spi->controller_state = cs; | 202 | spi->controller_state = cs; |