Re: watchdog: m54xx: Add missing include

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 08, 2020 at 09:41:32PM +0200, Thomas Gleixner wrote:
> From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Date: Fri, 08 May 2020 21:26:58 +0200
> 
> A recent cleanup removed the mm.h include from uaccess_no.h in
> m68k. This breaks the build of the m54xx watchdog driver:
> 
>   drivers/watchdog/m54xx_wdt.c:49:9: error: implicit declaration of function '__raw_readl'
> 
> Due to magic include chains the inclusion of mm.h in uaccess_no.h pulled in io.h.
> 
> Include 'linux/io.h' explicitely to fix this.
> 
> Fixes: 9e860351550b ("m68knommu: Remove mm.h include from uaccess_no.h")
> Reported-by: kbuild test robot <lkp@xxxxxxxxx>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: Wim Van Sebroeck <wim@xxxxxxxxxxxxxxxxxx>
> Cc: Guenter Roeck <linux@xxxxxxxxxxxx>
> Cc: linux-watchdog@xxxxxxxxxxxxxxx

Reviewed-by: Guenter Roeck <linux@xxxxxxxxxxxx>

> ---
>  drivers/watchdog/m54xx_wdt.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> --- a/drivers/watchdog/m54xx_wdt.c
> +++ b/drivers/watchdog/m54xx_wdt.c
> @@ -29,6 +29,7 @@
>  #include <linux/bitops.h>
>  #include <linux/ioport.h>
>  #include <linux/uaccess.h>
> +#include <linux/io.h>
>  
>  #include <asm/coldfire.h>
>  #include <asm/m54xxsim.h>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux