diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-19 12:37:54 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2018-05-21 20:00:52 +0000 |
commit | f29a6898ec10459e49c9380b9b342e6ee633a6ce (patch) | |
tree | 9773f705f0fdcd6885ea19ec7eaf5078a82047d6 /src/southbridge/amd/sb700/hda.c | |
parent | 7f55810cf0e4d415cc71d7c58094040e49e14a37 (diff) | |
download | coreboot-f29a6898ec10459e49c9380b9b342e6ee633a6ce.tar.xz |
sb/amd/sb700: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I53acc7dd4ddf2787fc1e59d604cadc4f3b4cb49c
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26406
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/southbridge/amd/sb700/hda.c')
-rw-r--r-- | src/southbridge/amd/sb700/hda.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/amd/sb700/hda.c b/src/southbridge/amd/sb700/hda.c index f89f3bb04e..af2c837905 100644 --- a/src/southbridge/amd/sb700/hda.c +++ b/src/southbridge/amd/sb700/hda.c @@ -165,7 +165,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[3], no ac97 in sb700. */ byte = pm_ioread(0x59); |