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>
master
Anatolij Gustschin 13 years ago committed by Albert ARIBAUD
parent 33fbc9cf82
commit 3fbc6931a4
  1. 3
      board/ti/beagle/beagle.c

@ -254,7 +254,8 @@ void beagle_display_init(void)
/* /*
* Enable DVI power * Enable DVI power
*/ */
static void beagle_dvi_pup() { static void beagle_dvi_pup(void)
{
uchar val; uchar val;
switch (get_board_revision()) { switch (get_board_revision()) {

Loading…
Cancel
Save