]> asedeno.scripts.mit.edu Git - linux.git/commit
mmc: s3cmci: include linux/interrupt.h for tasklet_struct
authorArnd Bergmann <arnd@arndb.de>
Fri, 20 Jan 2017 20:08:12 +0000 (21:08 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Feb 2017 12:20:19 +0000 (13:20 +0100)
commite1c6ec26b853e9062f0b3daaf695c546d0702953
tree27cdcc39420c0436ebf39b0c5d65ee49d2747d1b
parentd815cf8f33ef87bb2696febeb7b1592a77cf1514
mmc: s3cmci: include linux/interrupt.h for tasklet_struct

I got this new build error on today's linux-next

drivers/mmc/host/s3cmci.h:69:24: error: field 'pio_tasklet' has incomplete type
  struct tasklet_struct pio_tasklet;
drivers/mmc/host/s3cmci.c: In function 's3cmci_enable_irq':
drivers/mmc/host/s3cmci.c:390:4: error: implicit declaration of function 'enable_irq';did you mean 'enable_imask'? [-Werror=implicit-function-declaration]

While I haven't found out why this happened now and not earlier, the
solution is obvious, we should include the header that defines
the structure.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/s3cmci.c