aboutsummaryrefslogtreecommitdiff
path: root/include/hw/misc/npcm7xx_pwm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/misc/npcm7xx_pwm.h')
-rw-r--r--include/hw/misc/npcm7xx_pwm.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/hw/misc/npcm7xx_pwm.h b/include/hw/misc/npcm7xx_pwm.h
index 7ad632a..bf95344 100644
--- a/include/hw/misc/npcm7xx_pwm.h
+++ b/include/hw/misc/npcm7xx_pwm.h
@@ -101,7 +101,6 @@ struct NPCM7xxPWMState {
};
#define TYPE_NPCM7XX_PWM "npcm7xx-pwm"
-#define NPCM7XX_PWM(obj) \
- OBJECT_CHECK(NPCM7xxPWMState, (obj), TYPE_NPCM7XX_PWM)
+OBJECT_DECLARE_SIMPLE_TYPE(NPCM7xxPWMState, NPCM7XX_PWM)
#endif /* NPCM7XX_PWM_H */