Skip to content

Commit

Permalink
sh: sh7757: Add missing #include <asm/mmzone.h>
Browse files Browse the repository at this point in the history
arch/sh/kernel/cpu/sh4a/setup-sh7757.c:1240:13: warning: no previous prototype for ‘plat_mem_setup’ [-Wmissing-prototypes]

Signed-off-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: John Paul Adrian Glaubitz <[email protected]>
Link: https://lore.kernel.org/r/c9c26472151d16a2ca91f14bccd64af07a6abdd8.1709579038.git.geert+renesas@glider.be
Signed-off-by: John Paul Adrian Glaubitz <[email protected]>
  • Loading branch information
geertu authored and glaubitz committed May 2, 2024
1 parent 3da8ee8 commit 0ef06d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/sh/kernel/cpu/sh4a/setup-sh7757.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@
#include <linux/sh_dma.h>
#include <linux/sh_intc.h>
#include <linux/usb/ohci_pdriver.h>

#include <cpu/dma-register.h>
#include <cpu/sh7757.h>

#include <asm/mmzone.h>
#include <asm/platform_early.h>

static struct plat_sci_port scif2_platform_data = {
Expand Down

0 comments on commit 0ef06d6

Please sign in to comment.