]> mj.ucw.cz Git - pciutils.git/blobdiff - lib/i386-io-linux.h
lspci: Decode Precision Time Measurement capabiltity
[pciutils.git] / lib / i386-io-linux.h
index e6974712bd5ed3bf46076d216b5f2d2b82710cf1..1e52d73d8e26308bdef9f863f725b88803e1af37 100644 (file)
@@ -6,20 +6,16 @@
  *     Can be freely distributed and used under the terms of the GNU GPL.
  */
 
-#ifdef __GLIBC__
 #include <sys/io.h>
-#else
-#include <asm/io.h>
-#endif
 
 static int
-intel_setup_io(void)
+intel_setup_io(struct pci_access *a UNUSED)
 {
   return (iopl(3) < 0) ? 0 : 1;
 }
 
 static inline int
-intel_cleanup_io(void)
+intel_cleanup_io(struct pci_access *a UNUSED)
 {
   iopl(3);
   return -1;