diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2019-04-12 18:54:15 +0200 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2019-04-29 17:57:21 +0100 |
commit | 94630665b5b04235400a7bb6236539b2593eff35 (patch) | |
tree | 994605159fbd29ce374a7ffd5b344f473e4eaaf7 /hw/net | |
parent | e7a3c55a95ba3d091903624d4934f8be34ff4315 (diff) |
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.c | 1 |
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 { |