aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/amd/sb600/hda.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/amd/sb600/hda.c')
-rw-r--r--src/southbridge/amd/sb600/hda.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/amd/sb600/hda.c b/src/southbridge/amd/sb600/hda.c
index bb2b2b1c25..367866f11f 100644
--- a/src/southbridge/amd/sb600/hda.c
+++ b/src/southbridge/amd/sb600/hda.c
@@ -150,7 +150,7 @@ static u32 cim_verb_data[] = {
static u32 find_verb(u32 viddid, u32 ** verb)
{
- device_t azalia_dev = dev_find_slot(0, PCI_DEVFN(0x14, 2));
+ struct device *azalia_dev = dev_find_slot(0, PCI_DEVFN(0x14, 2));
struct southbridge_amd_sb600_config *cfg =
(struct southbridge_amd_sb600_config *)azalia_dev->chip_info;
if (!cfg)
@@ -265,7 +265,7 @@ static void hda_init(struct device *dev)
void *base;
struct resource *res;
u32 codec_mask;
- device_t sm_dev;
+ struct device *sm_dev;
/* Enable azalia - PM_io 0x59[4], disable ac97 - PM_io 0x59[1..0] */
pm_iowrite(0x59, 0xB);