misc/max111x: Create abstract max111x type
commit5ef4a1c304ef60224c29aa9f6d9c2ac0591d020a
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Wed, 12 Feb 2014 00:29:00 +0000 (11 16:29 -0800)
committerAndreas Färber <afaerber@suse.de>
Wed, 12 Mar 2014 19:13:02 +0000 (12 20:13 +0100)
treea94fda0f8febf24ac5d91cbae1d412b44f5f175a
parentd43269dddc2e084a61bb6cfcc18081b0b6bb0e62
misc/max111x: Create abstract max111x type

Create an abstract class that encompasses both max111x variants. This is
needed for QOM cast macro creation (and is the right thing to do
anyway). Macroify type-names in the process.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/misc/max111x.c