]> git.sur5r.net Git - u-boot/commit
ADS5121 cleanup compile warnings
authorJohn Rigby <jrigby@freescale.com>
Fri, 11 Jul 2008 20:44:09 +0000 (14:44 -0600)
committerJohn Rigby <jrigby@freescale.com>
Sat, 12 Jul 2008 19:33:59 +0000 (13:33 -0600)
commitb60b8573875e650e4c69be667bfc88d3ed474a7c
treef71108c301eb2a252b64dacf193ea7ad962ed01f
parentbde63587622c4b830a27d1ddf7265843de9e994f
ADS5121 cleanup compile warnings

board/ads5121/iopin.c
    Replace bit fields in struct iopin_t with a single
    field and intialize it via plain old macros.
    This fixes the type pun warnings and makes the code
    more readable.

board/ads5121/ads5121.c
    Add include iopin.h to ads5121.c for the iopin_initialize
    prototype.

    Add an extern void ads5121_diu_init(void)

Signed-off-by: John Rigby <jrigby@freescale.com>
board/ads5121/ads5121.c
board/ads5121/iopin.c