]> git.sur5r.net Git - u-boot/commit
serial: ns16550: Remove unwanted cast
authorSimon Glass <sjg@chromium.org>
Tue, 5 Mar 2013 14:40:02 +0000 (14:40 +0000)
committerTom Rini <trini@ti.com>
Fri, 15 Mar 2013 20:14:01 +0000 (16:14 -0400)
commit69e0683241ae291729adc8737fddfeae9801b024
tree27672519b0bed2dabefb7d9dceff711983737d36
parent81e2ff0bf13506c16cc8bbf449f6623ea8c5d84a
serial: ns16550: Remove unwanted cast

This cast does not seem correct, since we should be writing to a pointer,
not a ulong.

This fixes the following warning on nds32:

-ns16550.c:49: warning: passing argument 2 of 'writeb' makes pointer from integer without a cast

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/serial/ns16550.c