aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-parisc/hardware.h5
-rw-r--r--include/linux/mod_devicetable.h8
2 files changed, 9 insertions, 4 deletions
diff --git a/include/asm-parisc/hardware.h b/include/asm-parisc/hardware.h
index ac5881492b10..76d880dc4bae 100644
--- a/include/asm-parisc/hardware.h
+++ b/include/asm-parisc/hardware.h
@@ -4,6 +4,11 @@
4#include <linux/mod_devicetable.h> 4#include <linux/mod_devicetable.h>
5#include <asm/pdc.h> 5#include <asm/pdc.h>
6 6
7#define HWTYPE_ANY_ID PA_HWTYPE_ANY_ID
8#define HVERSION_ANY_ID PA_HVERSION_ANY_ID
9#define HVERSION_REV_ANY_ID PA_HVERSION_REV_ANY_ID
10#define SVERSION_ANY_ID PA_SVERSION_ANY_ID
11
7struct hp_hardware { 12struct hp_hardware {
8 unsigned short hw_type:5; /* HPHW_xxx */ 13 unsigned short hw_type:5; /* HPHW_xxx */
9 unsigned short hversion; 14 unsigned short hversion;
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
index 1632025f3e60..e96b2dee10bb 100644
--- a/include/linux/mod_devicetable.h
+++ b/include/linux/mod_devicetable.h
@@ -327,9 +327,9 @@ struct parisc_device_id {
327 __u32 sversion; /* 20 bits */ 327 __u32 sversion; /* 20 bits */
328}; 328};
329 329
330#define HWTYPE_ANY_ID 0xff 330#define PA_HWTYPE_ANY_ID 0xff
331#define HVERSION_REV_ANY_ID 0xff 331#define PA_HVERSION_REV_ANY_ID 0xff
332#define HVERSION_ANY_ID 0xffff 332#define PA_HVERSION_ANY_ID 0xffff
333#define SVERSION_ANY_ID 0xffffffff 333#define PA_SVERSION_ANY_ID 0xffffffff
334 334
335#endif /* LINUX_MOD_DEVICETABLE_H */ 335#endif /* LINUX_MOD_DEVICETABLE_H */