summaryrefslogtreecommitdiffstats
path: root/src/drivers/bus
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/bus')
-rw-r--r--src/drivers/bus/mca.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/drivers/bus/mca.c b/src/drivers/bus/mca.c
index 101bd4684..28b99f77a 100644
--- a/src/drivers/bus/mca.c
+++ b/src/drivers/bus/mca.c
@@ -98,9 +98,8 @@ int find_mca_device ( struct mca_device *mca, struct mca_driver *driver ) {
if ( mca->dev ) {
mca->dev->name = driver->name;
mca->dev->devid.vendor_id =
- htons ( GENERIC_MCA_VENDOR );
- mca->dev->devid.device_id =
- htons ( id->id );
+ GENERIC_MCA_VENDOR;
+ mca->dev->devid.device_id = id->id;
}
mca->already_tried = 1;
return 1;