Skip to content

Commit 072cb8b

Browse files
KAGA-KOKOWim Van Sebroeck
authored andcommitted
watchdog: m54xx: Add missing include
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: 9e86035 ("m68knommu: Remove mm.h include from uaccess_no.h") Reported-by: kbuild test robot <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: Wim Van Sebroeck <[email protected]> Cc: Guenter Roeck <[email protected]> Cc: [email protected] Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
1 parent ff1ee6f commit 072cb8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/watchdog/m54xx_wdt.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
#include <linux/bitops.h>
3030
#include <linux/ioport.h>
3131
#include <linux/uaccess.h>
32+
#include <linux/io.h>
3233

3334
#include <asm/coldfire.h>
3435
#include <asm/m54xxsim.h>

0 commit comments

Comments
 (0)