From: Anatolij Gustschin Date: Tue, 27 Mar 2012 23:05:07 +0000 (+0000) Subject: board/ti/beagle/beagle.c: Fix build warnings X-Git-Tag: v2012.04-rc1~19^2~8 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3fbc6931a456b89294b5807e08df21b1a1387846;p=u-boot 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 Cc: Tom Rini --- 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()) {