ac97: Move TYPE_AC97 definition to ac97_int.h

This commit is contained in:
Matt Borgerson 2021-04-18 22:10:34 -07:00
parent c060ab62e6
commit c7075dd2b1
2 changed files with 1 additions and 3 deletions

View File

@ -131,9 +131,6 @@ enum {
#define MUTE_SHIFT 15
#define TYPE_AC97 "AC97"
OBJECT_DECLARE_SIMPLE_TYPE(AC97LinkState, AC97)
#define REC_MASK 7
enum {
REC_MIC = 0,

View File

@ -51,6 +51,7 @@ typedef struct AC97BusMasterRegs {
BD bd;
} AC97BusMasterRegs;
#define TYPE_AC97 "AC97"
OBJECT_DECLARE_SIMPLE_TYPE(AC97LinkState, AC97)
struct AC97LinkState {