summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2012-03-27 23:05:07 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-03-29 08:19:29 +0200
commit3fbc6931a456b89294b5807e08df21b1a1387846 (patch)
tree4008493001c29d897aabc350fd80d5e04f7c1da0
parent33fbc9cf826c1dd54ab5a715154478fae008fcd2 (diff)
downloadtalos-obmc-uboot-3fbc6931a456b89294b5807e08df21b1a1387846.tar.gz
talos-obmc-uboot-3fbc6931a456b89294b5807e08df21b1a1387846.zip
board/ti/beagle/beagle.c: Fix build warnings
Fix: beagle.c:257:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] beagle.c:257:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] Also make beagle_dvi_pup() checkpatch clean, fix: ERROR: open brace '{' following function declarations go on the next line Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Tom Rini <trini@ti.com>
-rw-r--r--board/ti/beagle/beagle.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c
index 114ab7e450..8b07eef551 100644
--- a/board/ti/beagle/beagle.c
+++ b/board/ti/beagle/beagle.c
@@ -254,7 +254,8 @@ void beagle_display_init(void)
/*
* Enable DVI power
*/
-static void beagle_dvi_pup() {
+static void beagle_dvi_pup(void)
+{
uchar val;
switch (get_board_revision()) {
OpenPOWER on IntegriCloud