]> mj.ucw.cz Git - pciutils.git/blobdiff - lib/i386-io-haiku.h
cxl: Rename caps to be device caps
[pciutils.git] / lib / i386-io-haiku.h
index 2a824f95e117a6a79ab2516dacaab3dc31cfad35..dd0094162a24005d93523f09616bd134a6472f92 100644 (file)
@@ -68,11 +68,10 @@ intel_setup_io(struct pci_access *a UNUSED)
   return (poke_driver_fd < 0) ? 0 : 1;
 }
 
-static inline int
+static inline void
 intel_cleanup_io(struct pci_access *a UNUSED)
 {
   close(poke_driver_fd);
-  return 1;
 }
 
 static inline u8
@@ -122,3 +121,11 @@ outl (u32 value, u16 port)
   port_io_args args = { POKE_SIGNATURE, port, sizeof(u32), value };
   ioctl(poke_driver_fd, POKE_PORT_WRITE, &args, sizeof(args));
 }
+
+static inline void intel_io_lock(void)
+{
+}
+
+static inline void intel_io_unlock(void)
+{
+}