[PATCH xf86-video-trident 1/2] Rename tridentpcirename.h to trident_pci_rename.h

Kevin Brace kevinbrace at gmx.com
Sat May 11 03:58:50 UTC 2019


Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
---
 src/Makefile.am                                  | 2 +-
 src/trident.h                                    | 2 +-
 src/{tridentpcirename.h => trident_pci_rename.h} | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)
 rename src/{tridentpcirename.h => trident_pci_rename.h} (98%)

diff --git a/src/Makefile.am b/src/Makefile.am
index 63f0dfd..0bced97 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -40,13 +40,13 @@ trident_drv_la_SOURCES = \
         trident_dga.c \
         trident_driver.c \
         trident_i2c.c \
+        trident_pci_rename.h \
         trident_pll.c \
         trident_regs.h \
         trident_shadow.c \
         trident_tv.c \
         trident_video.c \
         trident.h \
-        tridentpcirename.h \
         tvga_dac.c \
         xp_xaa.c \
         xp4_exa.c \
diff --git a/src/trident.h b/src/trident.h
index 081ede0..6f2ddc5 100644
--- a/src/trident.h
+++ b/src/trident.h
@@ -30,7 +30,7 @@
 #include <string.h>
 #include <math.h>

-#include "tridentpcirename.h"
+#include "trident_pci_rename.h"

 #include "exa.h"
 #include "xf86Cursor.h"
diff --git a/src/tridentpcirename.h b/src/trident_pci_rename.h
similarity index 98%
rename from src/tridentpcirename.h
rename to src/trident_pci_rename.h
index c93988a..991273b 100644
--- a/src/tridentpcirename.h
+++ b/src/trident_pci_rename.h
@@ -26,8 +26,8 @@
  * library. The main purpose being to facilitate source code compatibility.
  */

-#ifndef TRIDENTPCIRENAME_H
-#define TRIDENTPCIRENAME_H
+#ifndef TRIDENT_PCI_RENAME_H
+#define TRIDENT_PCI_RENAME_H

 enum region_type {
     REGION_MEM,
@@ -119,4 +119,4 @@ typedef struct pci_device *pciVideoPtr;

 #endif /* XSERVER_LIBPCIACCESS */

-#endif /* TRIDENTPCIRENAME_H */
+#endif /* TRIDENT_PCI_RENAME_H */
--
2.17.1



More information about the xorg-devel mailing list