diff options
Diffstat (limited to 'scripts/mod')
-rw-r--r-- | scripts/mod/file2alias.c | 15 | ||||
-rw-r--r-- | scripts/mod/modpost.c | 2 |
2 files changed, 17 insertions, 0 deletions
diff --git a/scripts/mod/file2alias.c b/scripts/mod/file2alias.c index 7ed6864ef65b..df4fc23dd836 100644 --- a/scripts/mod/file2alias.c +++ b/scripts/mod/file2alias.c | |||
@@ -966,6 +966,21 @@ static int do_isapnp_entry(const char *filename, | |||
966 | } | 966 | } |
967 | ADD_TO_DEVTABLE("isapnp", struct isapnp_device_id, do_isapnp_entry); | 967 | ADD_TO_DEVTABLE("isapnp", struct isapnp_device_id, do_isapnp_entry); |
968 | 968 | ||
969 | /* Looks like: "ipack:fNvNdN". */ | ||
970 | static int do_ipack_entry(const char *filename, | ||
971 | struct ipack_device_id *id, char *alias) | ||
972 | { | ||
973 | id->vendor = TO_NATIVE(id->vendor); | ||
974 | id->device = TO_NATIVE(id->device); | ||
975 | strcpy(alias, "ipack:"); | ||
976 | ADD(alias, "f", id->format != IPACK_ANY_FORMAT, id->format); | ||
977 | ADD(alias, "v", id->vendor != IPACK_ANY_ID, id->vendor); | ||
978 | ADD(alias, "d", id->device != IPACK_ANY_ID, id->device); | ||
979 | add_wildcard(alias); | ||
980 | return 1; | ||
981 | } | ||
982 | ADD_TO_DEVTABLE("ipack", struct ipack_device_id, do_ipack_entry); | ||
983 | |||
969 | /* | 984 | /* |
970 | * Append a match expression for a single masked hex digit. | 985 | * Append a match expression for a single masked hex digit. |
971 | * outp points to a pointer to the character at which to append. | 986 | * outp points to a pointer to the character at which to append. |
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index cd5803c647fd..0d93856a03f4 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c | |||
@@ -828,6 +828,8 @@ static const char *section_white_list[] = | |||
828 | ".note*", | 828 | ".note*", |
829 | ".got*", | 829 | ".got*", |
830 | ".toc*", | 830 | ".toc*", |
831 | ".xt.prop", /* xtensa */ | ||
832 | ".xt.lit", /* xtensa */ | ||
831 | NULL | 833 | NULL |
832 | }; | 834 | }; |
833 | 835 | ||