net: cadence_gem: Split state struct and type into header
commitf49856d4e65703e347ee3e2277a87282ce601bcd
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Fri, 15 May 2015 02:23:09 +0000 (14 19:23 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 18 May 2015 15:41:11 +0000 (18 16:41 +0100)
tree70989621cdeed1423ec727ef150a5d871c429328
parent448f19e23155021e42878e7effc3da895921ad4e
net: cadence_gem: Split state struct and type into header

Create a new header for Cadence GEM to allow using the device with
modern SoC programming conventions. The state struct needs to be
visible to embed the device in SoC containers.

Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Tested-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Message-id: a98b5df6440c5bff8f813a26bb53ce1cfefb4c4c.1431381507.git.peter.crosthwaite@xilinx.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/net/cadence_gem.c
include/hw/net/cadence_gem.h [new file with mode: 0644]