diff options
Diffstat (limited to 'scripts/mod')
-rw-r--r-- | scripts/mod/modpost.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 015c6b0c8031..bb895b13c170 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c | |||
@@ -609,7 +609,7 @@ static int strrcmp(const char *s, const char *sub) | |||
609 | * the pattern is identified by: | 609 | * the pattern is identified by: |
610 | * tosec = .init.text | .exit.text | .init.data | 610 | * tosec = .init.text | .exit.text | .init.data |
611 | * fromsec = .data | 611 | * fromsec = .data |
612 | * atsym = *driver, *_template, *_sht, *_ops, *_probe, *probe_one, *_console | 612 | * atsym = *driver, *_template, *_sht, *_ops, *_probe, *probe_one, *_console, *_timer |
613 | * | 613 | * |
614 | * Pattern 3: | 614 | * Pattern 3: |
615 | * Whitelist all refereces from .text.head to .init.data | 615 | * Whitelist all refereces from .text.head to .init.data |
@@ -634,6 +634,7 @@ static int secref_whitelist(const char *modname, const char *tosec, | |||
634 | const char *pat2sym[] = { | 634 | const char *pat2sym[] = { |
635 | "driver", | 635 | "driver", |
636 | "_template", /* scsi uses *_template a lot */ | 636 | "_template", /* scsi uses *_template a lot */ |
637 | "_timer", /* arm uses ops structures named _timer a lot */ | ||
637 | "_sht", /* scsi also used *_sht to some extent */ | 638 | "_sht", /* scsi also used *_sht to some extent */ |
638 | "_ops", | 639 | "_ops", |
639 | "_probe", | 640 | "_probe", |