dm: serial: ns16550: Update to support of-platdata
authorSimon Glass <sjg@chromium.org>
Mon, 4 Jul 2016 17:58:23 +0000 (11:58 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 15 Jul 2016 02:40:24 +0000 (20:40 -0600)
commitb2927fbaa89d2c7f7ac3977bc0cab2a4b7924acd
tree88a0b731a3ef2ff11e9c3a4b1199b4e793df53e8
parent1e6ca1a6ad7285569b22465b8387db242b310553
dm: serial: ns16550: Update to support of-platdata

With of-platdata this driver cannot know the format of the of-platdata
struct, so we cannot use generic code for accessing the of-platdata. Each
SoC that uses this driver will need to set up ns16550's platdata for it.
So don't compile in the generic code.

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