diff mbox series

mmc: mxmmc: include linux/highmem.h

Message ID 20180529103057.1378025-1-arnd@arndb.de
State New
Headers show
Series mmc: mxmmc: include linux/highmem.h | expand

Commit Message

Arnd Bergmann May 29, 2018, 10:30 a.m. UTC
The highmem conversion caused a build error in some configurations:

drivers/mmc/host/mxcmmc.c: In function 'mxcmci_transfer_data':
drivers/mmc/host/mxcmmc.c:622:10: error: implicit declaration of function 'kmap_atomic'; did you mean 'in_atomic'? [-Werror=implicit-function-declaration]

This includes the correct header file.

Fixes: b189e7589f6d ("mmc: mxcmmc: handle highmem pages")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

---
 drivers/mmc/host/mxcmmc.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.9.0

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Ulf Hansson May 29, 2018, 10:35 a.m. UTC | #1
On 29 May 2018 at 12:30, Arnd Bergmann <arnd@arndb.de> wrote:
> The highmem conversion caused a build error in some configurations:

>

> drivers/mmc/host/mxcmmc.c: In function 'mxcmci_transfer_data':

> drivers/mmc/host/mxcmmc.c:622:10: error: implicit declaration of function 'kmap_atomic'; did you mean 'in_atomic'? [-Werror=implicit-function-declaration]

>

> This includes the correct header file.

>

> Fixes: b189e7589f6d ("mmc: mxcmmc: handle highmem pages")

> Signed-off-by: Arnd Bergmann <arnd@arndb.de>


Thanks, applied for next!

Kind regards
Uffe

> ---

>  drivers/mmc/host/mxcmmc.c | 1 +

>  1 file changed, 1 insertion(+)

>

> diff --git a/drivers/mmc/host/mxcmmc.c b/drivers/mmc/host/mxcmmc.c

> index 150fbdba777d..d62bf7efce13 100644

> --- a/drivers/mmc/host/mxcmmc.c

> +++ b/drivers/mmc/host/mxcmmc.c

> @@ -21,6 +21,7 @@

>  #include <linux/init.h>

>  #include <linux/ioport.h>

>  #include <linux/platform_device.h>

> +#include <linux/highmem.h>

>  #include <linux/interrupt.h>

>  #include <linux/irq.h>

>  #include <linux/blkdev.h>

> --

> 2.9.0

>

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

diff --git a/drivers/mmc/host/mxcmmc.c b/drivers/mmc/host/mxcmmc.c
index 150fbdba777d..d62bf7efce13 100644
--- a/drivers/mmc/host/mxcmmc.c
+++ b/drivers/mmc/host/mxcmmc.c
@@ -21,6 +21,7 @@ 
 #include <linux/init.h>
 #include <linux/ioport.h>
 #include <linux/platform_device.h>
+#include <linux/highmem.h>
 #include <linux/interrupt.h>
 #include <linux/irq.h>
 #include <linux/blkdev.h>