Various cosmetic and coding style fixes in src/devices.
[coreboot.git] / src / include / device / device.h
index 1b978b1540ab674bafd58518c7b368e26deb94a5..7dbbb4f5ae3ddc6e3d4f7a77710d18865deb1ece 100644 (file)
@@ -120,7 +120,7 @@ void run_bios(struct device *dev, unsigned long addr);
 /* Helper functions */
 device_t find_dev_path(struct bus *parent, struct device_path *path);
 device_t alloc_find_dev(struct bus *parent, struct device_path *path);
-device_t dev_find_device (unsigned int vendor, unsigned int device, device_t from);
+device_t dev_find_device (u16 vendor, u16 device, device_t from);
 device_t dev_find_class (unsigned int class, device_t from);
 device_t dev_find_slot (unsigned int bus, unsigned int devfn);
 device_t dev_find_slot_on_smbus (unsigned int bus, unsigned int addr);