.. | .. |
---|
75 | 75 | extern void force_hpet_resume(void); |
---|
76 | 76 | |
---|
77 | 77 | struct irq_data; |
---|
78 | | -struct hpet_dev; |
---|
| 78 | +struct hpet_channel; |
---|
79 | 79 | struct irq_domain; |
---|
80 | 80 | |
---|
81 | 81 | extern void hpet_msi_unmask(struct irq_data *data); |
---|
82 | 82 | extern void hpet_msi_mask(struct irq_data *data); |
---|
83 | | -extern void hpet_msi_write(struct hpet_dev *hdev, struct msi_msg *msg); |
---|
84 | | -extern void hpet_msi_read(struct hpet_dev *hdev, struct msi_msg *msg); |
---|
| 83 | +extern void hpet_msi_write(struct hpet_channel *hc, struct msi_msg *msg); |
---|
85 | 84 | extern struct irq_domain *hpet_create_irq_domain(int hpet_id); |
---|
86 | 85 | extern int hpet_assign_irq(struct irq_domain *domain, |
---|
87 | | - struct hpet_dev *dev, int dev_num); |
---|
| 86 | + struct hpet_channel *hc, int dev_num); |
---|
88 | 87 | |
---|
89 | 88 | #ifdef CONFIG_HPET_EMULATE_RTC |
---|
90 | 89 | |
---|