mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH 12/12] ARM: omap: Add missing includes
Date: Mon, 19 Nov 2018 09:44:54 +0100	[thread overview]
Message-ID: <20181119084454.17599-13-s.hauer@pengutronix.de> (raw)
In-Reply-To: <20181119084454.17599-1-s.hauer@pengutronix.de>

Include header files that provide the prototypes for functions
implemented in that C files.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/mach-omap/am33xx_bbu_emmc.c    | 1 +
 arch/arm/mach-omap/am33xx_bbu_nand.c    | 1 +
 arch/arm/mach-omap/am33xx_bbu_spi_mlo.c | 1 +
 arch/arm/mach-omap/am33xx_clock.c       | 1 +
 4 files changed, 4 insertions(+)

diff --git a/arch/arm/mach-omap/am33xx_bbu_emmc.c b/arch/arm/mach-omap/am33xx_bbu_emmc.c
index 1fd7222ddc..29e13de778 100644
--- a/arch/arm/mach-omap/am33xx_bbu_emmc.c
+++ b/arch/arm/mach-omap/am33xx_bbu_emmc.c
@@ -18,6 +18,7 @@
 #include <fs.h>
 #include <fcntl.h>
 #include <filetype.h>
+#include <mach/bbu.h>
 
 #define PART_TABLE_SIZE		66
 #define PART_TABLE_OFFSET	0x1BE
diff --git a/arch/arm/mach-omap/am33xx_bbu_nand.c b/arch/arm/mach-omap/am33xx_bbu_nand.c
index 6fc6e7e40f..4c1a28d37e 100644
--- a/arch/arm/mach-omap/am33xx_bbu_nand.c
+++ b/arch/arm/mach-omap/am33xx_bbu_nand.c
@@ -22,6 +22,7 @@
 #include <fcntl.h>
 #include <libfile.h>
 #include <filetype.h>
+#include <mach/bbu.h>
 
 struct nand_bbu_handler {
 	struct bbu_handler bbu_handler;
diff --git a/arch/arm/mach-omap/am33xx_bbu_spi_mlo.c b/arch/arm/mach-omap/am33xx_bbu_spi_mlo.c
index 03477dbaf1..7d2ef1f0f2 100644
--- a/arch/arm/mach-omap/am33xx_bbu_spi_mlo.c
+++ b/arch/arm/mach-omap/am33xx_bbu_spi_mlo.c
@@ -20,6 +20,7 @@
 #include <fs.h>
 #include <fcntl.h>
 #include <linux/stat.h>
+#include <mach/bbu.h>
 
 /*
  * AM35xx, AM33xx chips use big endian MLO for SPI NOR flash
diff --git a/arch/arm/mach-omap/am33xx_clock.c b/arch/arm/mach-omap/am33xx_clock.c
index ad735cb216..e63e93601e 100644
--- a/arch/arm/mach-omap/am33xx_clock.c
+++ b/arch/arm/mach-omap/am33xx_clock.c
@@ -15,6 +15,7 @@
 #include <common.h>
 #include <asm/io.h>
 #include <mach/am33xx-clock.h>
+#include <mach/am33xx-generic.h>
 #include <asm-generic/div64.h>
 
 #define PRCM_MOD_EN		0x2
-- 
2.19.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      parent reply	other threads:[~2018-11-19  8:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-19  8:44 [PATCH 00/12] More -Wmissing-prototypes fixes Sascha Hauer
2018-11-19  8:44 ` [PATCH 01/12] ARM: start: Add missing prototype Sascha Hauer
2018-11-19  8:44 ` [PATCH 02/12] ARM: samsung: remove unused function Sascha Hauer
2018-11-19  8:44 ` [PATCH 03/12] ARM: samsung: make locally used function static Sascha Hauer
2018-11-19  8:44 ` [PATCH 04/12] ARM: samsung: provide prototype for nand_boot() Sascha Hauer
2018-11-19  8:44 ` [PATCH 05/12] ARM: samsung: Add missing include Sascha Hauer
2018-11-19  8:44 ` [PATCH 06/12] state: remove unused function Sascha Hauer
2018-11-19  8:44 ` [PATCH 07/12] mtd: nand: omap: Add header file for bch decoder Sascha Hauer
2018-11-19  8:44 ` [PATCH 08/12] net: cpsw: Make locally used function static Sascha Hauer
2018-11-19  8:44 ` [PATCH 09/12] usb: musb: Add missing includes Sascha Hauer
2018-11-19  8:44 ` [PATCH 10/12] spi: omap: make locally used functions static Sascha Hauer
2018-11-19  8:44 ` [PATCH 11/12] bus: omap-gpmc: make locally used function static Sascha Hauer
2018-11-19  8:44 ` Sascha Hauer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181119084454.17599-13-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox