*
* Copyright (c) 2009 Francois Revol <revol@free.fr>
*
- * Can be freely distributed and used under the terms of the GNU GPL.
+ * Can be freely distributed and used under the terms of the GNU GPL v2+
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
*/
#include <Drivers.h>
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
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)
+{
+}