]> git.sur5r.net Git - u-boot/commitdiff
board/ti/beagle/beagle.c: Fix build warnings
authorAnatolij Gustschin <agust@denx.de>
Tue, 27 Mar 2012 23:05:07 +0000 (23:05 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 29 Mar 2012 06:19:29 +0000 (08:19 +0200)
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>
board/ti/beagle/beagle.c

index 114ab7e45048387cfd92c210f1c9ba468db0be4a..8b07eef551ff52ec713e3f804310304b1d35b2bc 100644 (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()) {