diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-15 16:59:06 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2018-05-24 17:35:16 +0000 |
commit | ac350f82cd4dfab20a6fb49e5dea536ae448e054 (patch) | |
tree | 7b1890b9c173639d4c3be18a551ae4fcb11308d7 /src/southbridge/intel/fsp_i89xx/sata.c | |
parent | 688d004c4f8d94089c637be3a53ebdbb48493e97 (diff) |
sb/intel/fsp_i89xx: Get rid of device_t
Use of device_t is discouraged unless necessary.
Change-Id: I89f9fe94c1e3e5c2b183572d7f603d016d0f0e1c
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26249
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/southbridge/intel/fsp_i89xx/sata.c')
-rw-r--r-- | src/southbridge/intel/fsp_i89xx/sata.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/southbridge/intel/fsp_i89xx/sata.c b/src/southbridge/intel/fsp_i89xx/sata.c index 810847a861..bbd21e0859 100644 --- a/src/southbridge/intel/fsp_i89xx/sata.c +++ b/src/southbridge/intel/fsp_i89xx/sata.c @@ -78,11 +78,12 @@ static void sata_init(struct device *dev) } -static void sata_enable(device_t dev) +static void sata_enable(struct device *dev) { } -static void sata_set_subsystem(device_t dev, unsigned vendor, unsigned device) +static void sata_set_subsystem(struct device *dev, unsigned vendor, + unsigned device) { if (!vendor || !device) { pci_write_config32(dev, PCI_SUBSYSTEM_VENDOR_ID, |