{device,drivers}: Use 'unsigned int' to bare use of 'unsigned'
Change-Id: Iebb043a6fbc5803fbb7cad2f35b43917e10d09d4 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/28700 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
fa5c69ff85
commit
88030b722d
|
@ -726,7 +726,8 @@ void pci_bus_reset(struct bus *bus)
|
||||||
delay(1);
|
delay(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void pci_dev_set_subsystem(struct device *dev, unsigned vendor, unsigned device)
|
void pci_dev_set_subsystem(struct device *dev, unsigned int vendor,
|
||||||
|
unsigned int device)
|
||||||
{
|
{
|
||||||
pci_write_config32(dev, PCI_SUBSYSTEM_VENDOR_ID,
|
pci_write_config32(dev, PCI_SUBSYSTEM_VENDOR_ID,
|
||||||
((device & 0xffff) << 16) | (vendor & 0xffff));
|
((device & 0xffff) << 16) | (vendor & 0xffff));
|
||||||
|
|
|
@ -39,7 +39,8 @@ static void rce822_init(struct device *dev)
|
||||||
pci_write_config8(dev, 0xf9, 0x00);
|
pci_write_config8(dev, 0xf9, 0x00);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void rce822_set_subsystem(struct device *dev, unsigned vendor, unsigned device)
|
static void rce822_set_subsystem(struct device *dev, unsigned int vendor,
|
||||||
|
unsigned int device)
|
||||||
{
|
{
|
||||||
if (!vendor || !device) {
|
if (!vendor || !device) {
|
||||||
pci_write_config32(dev, 0xac,
|
pci_write_config32(dev, 0xac,
|
||||||
|
|
Loading…
Reference in New Issue