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>
This commit is contained in:
Anatolij Gustschin 2012-03-27 23:05:07 +00:00 committed by Albert ARIBAUD
parent 33fbc9cf82
commit 3fbc6931a4

View File

@ -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()) {