summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/device/pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/device/pci.h b/src/include/device/pci.h
index ec3d45e58b..6e28cb7f64 100644
--- a/src/include/device/pci.h
+++ b/src/include/device/pci.h
@@ -133,7 +133,7 @@ static __always_inline
#if ENV_PCI_SIMPLE_DEVICE
void pci_dev_request_bus_master(pci_devfn_t dev)
#else
-void pci_dev_request_bus_master(const struct device *dev)
+void pci_dev_request_bus_master(struct device *dev)
#endif /* ENV_PCI_SIMPLE_DEVICE */
{
if (CONFIG(PCI_ALLOW_BUS_MASTER))