dm: serial: ns16550: Add a cast to the I/O operations
authorSimon Glass <sjg@chromium.org>
Fri, 10 Oct 2014 13:49:13 +0000 (07:49 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 24 Oct 2014 01:45:28 +0000 (19:45 -0600)
commit1f77690e164e95fba0423a18b4597fd3ecd2817b
tree0fd7027d9167532548c11081db5bad56ede54bc9
parent85bfe6e4f6ecb667a8f65698e92bfa9a1a481850
dm: serial: ns16550: Add a cast to the I/O operations

This generates a warning when driver model is enabled, so fix it by adding
a cast.

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