summaryrefslogtreecommitdiff
path: root/src/linux_devmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux_devmem.c')
-rw-r--r--src/linux_devmem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/linux_devmem.c b/src/linux_devmem.c
index 8650efd..a68ea11 100644
--- a/src/linux_devmem.c
+++ b/src/linux_devmem.c
@@ -61,7 +61,8 @@
* Before using the VGA special case code, this function should check that
* VGA access are routed to the device. Right?
*/
-int pci_device_linux_devmem_read_rom(struct pci_device *dev, void *buffer)
+_pci_hidden int
+pci_device_linux_devmem_read_rom(struct pci_device *dev, void *buffer)
{
struct pci_device_private *priv = (struct pci_device_private *) dev;
int fd;