summaryrefslogtreecommitdiffstats
path: root/hw/net
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2019-04-12 18:54:15 +0200
committerPeter Maydell2019-04-29 18:57:21 +0200
commit94630665b5b04235400a7bb6236539b2593eff35 (patch)
tree994605159fbd29ce374a7ffd5b344f473e4eaaf7 /hw/net
parenthw/net/ne2000-isa: Add guards to the header (diff)
downloadqemu-94630665b5b04235400a7bb6236539b2593eff35.tar.gz
qemu-94630665b5b04235400a7bb6236539b2593eff35.tar.xz
qemu-94630665b5b04235400a7bb6236539b2593eff35.zip
hw/net/lan9118: Export TYPE_LAN9118 and use it instead of hardcoded string
Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20190412165416.7977-12-philmd@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/net')
-rw-r--r--hw/net/lan9118.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/net/lan9118.c b/hw/net/lan9118.c
index a428b16eda..b29e3fee49 100644
--- a/hw/net/lan9118.c
+++ b/hw/net/lan9118.c
@@ -175,7 +175,6 @@ static const VMStateDescription vmstate_lan9118_packet = {
}
};
-#define TYPE_LAN9118 "lan9118"
#define LAN9118(obj) OBJECT_CHECK(lan9118_state, (obj), TYPE_LAN9118)
typedef struct {