diff options
Diffstat (limited to 'scripts/mod/file2alias.c')
-rw-r--r-- | scripts/mod/file2alias.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/mod/file2alias.c b/scripts/mod/file2alias.c index 8adca4406198..161dd0d67da8 100644 --- a/scripts/mod/file2alias.c +++ b/scripts/mod/file2alias.c | |||
@@ -125,7 +125,7 @@ do { \ | |||
125 | sprintf(str + strlen(str), "*"); \ | 125 | sprintf(str + strlen(str), "*"); \ |
126 | } while(0) | 126 | } while(0) |
127 | 127 | ||
128 | /* Always end in a wildcard, for future extension */ | 128 | /* End in a wildcard, for future extension */ |
129 | static inline void add_wildcard(char *str) | 129 | static inline void add_wildcard(char *str) |
130 | { | 130 | { |
131 | int len = strlen(str); | 131 | int len = strlen(str); |
@@ -704,7 +704,6 @@ static int do_of_entry (const char *filename, void *symval, char *alias) | |||
704 | if (isspace (*tmp)) | 704 | if (isspace (*tmp)) |
705 | *tmp = '_'; | 705 | *tmp = '_'; |
706 | 706 | ||
707 | add_wildcard(alias); | ||
708 | return 1; | 707 | return 1; |
709 | } | 708 | } |
710 | ADD_TO_DEVTABLE("of", of_device_id, do_of_entry); | 709 | ADD_TO_DEVTABLE("of", of_device_id, do_of_entry); |