diff options
author | Kyle McMartin <kyle@mako.i.cabal.ca> | 2007-01-13 15:02:09 -0500 |
---|---|---|
committer | Kyle McMartin <kyle@athena.road.mcmartin.ca> | 2007-02-17 01:09:12 -0500 |
commit | f354ef8abe5d6d967c023b21980241e6f883a698 (patch) | |
tree | f427f59479d3d645ece5a631fad4024ba02dbca1 | |
parent | f3cf2673358e4221afbb59721a8580a8f35479a5 (diff) |
[PARISC] rename *_ANY_ID to PA_*_ANY_ID in the exported header
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
-rw-r--r-- | include/asm-parisc/hardware.h | 5 | ||||
-rw-r--r-- | include/linux/mod_devicetable.h | 8 | ||||
-rw-r--r-- | scripts/mod/file2alias.c | 8 |
3 files changed, 13 insertions, 8 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 | |||
7 | struct hp_hardware { | 12 | struct 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 */ |
diff --git a/scripts/mod/file2alias.c b/scripts/mod/file2alias.c index 717b04a3b40a..b2f73ffb40bd 100644 --- a/scripts/mod/file2alias.c +++ b/scripts/mod/file2alias.c | |||
@@ -462,10 +462,10 @@ static int do_parisc_entry(const char *filename, struct parisc_device_id *id, | |||
462 | id->sversion = TO_NATIVE(id->sversion); | 462 | id->sversion = TO_NATIVE(id->sversion); |
463 | 463 | ||
464 | strcpy(alias, "parisc:"); | 464 | strcpy(alias, "parisc:"); |
465 | ADD(alias, "t", id->hw_type != HWTYPE_ANY_ID, id->hw_type); | 465 | ADD(alias, "t", id->hw_type != PA_HWTYPE_ANY_ID, id->hw_type); |
466 | ADD(alias, "hv", id->hversion != HVERSION_ANY_ID, id->hversion); | 466 | ADD(alias, "hv", id->hversion != PA_HVERSION_ANY_ID, id->hversion); |
467 | ADD(alias, "rev", id->hversion_rev != HVERSION_REV_ANY_ID, id->hversion_rev); | 467 | ADD(alias, "rev", id->hversion_rev != PA_HVERSION_REV_ANY_ID, id->hversion_rev); |
468 | ADD(alias, "sv", id->sversion != SVERSION_ANY_ID, id->sversion); | 468 | ADD(alias, "sv", id->sversion != PA_SVERSION_ANY_ID, id->sversion); |
469 | 469 | ||
470 | return 1; | 470 | return 1; |
471 | } | 471 | } |