summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/generic/bayhub/bh720.c8
-rw-r--r--src/drivers/ricoh/rce822/rce822.c4
2 files changed, 5 insertions, 7 deletions
diff --git a/src/drivers/generic/bayhub/bh720.c b/src/drivers/generic/bayhub/bh720.c
index 09fa578e86..b365132f06 100644
--- a/src/drivers/generic/bayhub/bh720.c
+++ b/src/drivers/generic/bayhub/bh720.c
@@ -82,12 +82,6 @@ static const struct pci_driver bayhub_bh720 __pci_driver = {
.devices = pci_device_ids,
};
-static void bh720_enable(struct device *dev)
-{
- dev->ops = &bh720_ops;
-}
-
-struct chip_operations bayhub_bh720_ops = {
+struct chip_operations drivers_generic_bayhub_ops = {
CHIP_NAME("BayHub Technology BH720 PCI to eMMC 5.0 HS200 bridge")
- .enable_dev = bh720_enable,
};
diff --git a/src/drivers/ricoh/rce822/rce822.c b/src/drivers/ricoh/rce822/rce822.c
index 72862f5174..485bdd05b9 100644
--- a/src/drivers/ricoh/rce822/rce822.c
+++ b/src/drivers/ricoh/rce822/rce822.c
@@ -71,3 +71,7 @@ static const struct pci_driver rce822 __pci_driver = {
.vendor = PCI_VENDOR_ID_RICOH,
.devices = pci_device_ids,
};
+
+struct chip_operations drivers_ricoh_rce822_ops = {
+ CHIP_NAME("RICOH RCE822")
+};