diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-05-14 09:30:52 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-05-14 09:30:52 -0400 |
commit | 4f5a9fd341e8ffd825ecf56155df6fe6c3d732b1 (patch) | |
tree | ac23c7b80154a476db3882d92f079c50c919e2fa /scripts/mod/file2alias.c | |
parent | c818f97bc3266f0fbf619f2348d951272f8ac335 (diff) | |
parent | a0f5e3631b07cabf624e7d818df76d47d9d21017 (diff) |
Merge branch 'imx/pinctrl' into imx/clock
Conflicts:
drivers/mmc/host/sdhci-esdhc-imx.c
drivers/net/ethernet/freescale/fec.c
drivers/spi/spi-imx.c
drivers/tty/serial/imx.c
This resolves dependencies between the pinctrl and clock changes
in imx.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'scripts/mod/file2alias.c')
-rw-r--r-- | scripts/mod/file2alias.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/mod/file2alias.c b/scripts/mod/file2alias.c index 8e730ccc3f2b..44ddaa542db6 100644 --- a/scripts/mod/file2alias.c +++ b/scripts/mod/file2alias.c | |||
@@ -1100,6 +1100,10 @@ void handle_moddevtable(struct module *mod, struct elf_info *info, | |||
1100 | if (!sym->st_shndx || get_secindex(info, sym) >= info->num_sections) | 1100 | if (!sym->st_shndx || get_secindex(info, sym) >= info->num_sections) |
1101 | return; | 1101 | return; |
1102 | 1102 | ||
1103 | /* We're looking for an object */ | ||
1104 | if (ELF_ST_TYPE(sym->st_info) != STT_OBJECT) | ||
1105 | return; | ||
1106 | |||
1103 | /* All our symbols are of form <prefix>__mod_XXX_device_table. */ | 1107 | /* All our symbols are of form <prefix>__mod_XXX_device_table. */ |
1104 | name = strstr(symname, "__mod_"); | 1108 | name = strstr(symname, "__mod_"); |
1105 | if (!name) | 1109 | if (!name) |