diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-13 23:43:32 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-13 23:43:32 -0500 |
commit | 21ebd6c68b5511b55f4f456e4ba17c2d711e3617 (patch) | |
tree | 2f4f98568a7a52ab6734fb190d0cbf6f9c1c6492 /scripts/mod | |
parent | 4b8be38cf782f8ebebc089083fa0572ade79d7ca (diff) | |
parent | 74d836c4142e5d100f8d9a1b2ee3003c2ed7109d (diff) |
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6
* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6: (59 commits)
rtc: max8925: Add function to work as wakeup source
mfd: Add pm ops to max8925
mfd: Convert aat2870 to dev_pm_ops
mfd: Still check other interrupts if we get a wm831x touchscreen IRQ
mfd: Introduce missing kfree in 88pm860x probe routine
mfd: Add S5M series configuration
mfd: Add s5m series irq driver
mfd: Add S5M core driver
mfd: Improve mc13xxx dt binding document
mfd: Fix stmpe section mismatch
mfd: Fix stmpe build warning
mfd: Fix STMPE I2c build failure
mfd: Constify aat2870-core i2c_device_id table
gpio: Add support for stmpe variant 801
mfd: Add support for stmpe variant 801
mfd: Add support for stmpe variant 610
mfd: Add support for STMPE SPI interface
mfd: Separate out STMPE controller and interface specific code
misc: Remove max8997-muic sysfs attributes
mfd: Remove unused wm831x_irq_data_to_mask_reg()
...
Fix up trivial conflict in drivers/leds/Kconfig due to addition of
LEDS_MAX8997 and LEDS_TCA6507 next to each other.
Diffstat (limited to 'scripts/mod')
-rw-r--r-- | scripts/mod/file2alias.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/mod/file2alias.c b/scripts/mod/file2alias.c index 363ab4666b17..296f17ff751b 100644 --- a/scripts/mod/file2alias.c +++ b/scripts/mod/file2alias.c | |||
@@ -774,6 +774,15 @@ static int do_spi_entry(const char *filename, struct spi_device_id *id, | |||
774 | return 1; | 774 | return 1; |
775 | } | 775 | } |
776 | 776 | ||
777 | /* Looks like: mcp:S */ | ||
778 | static int do_mcp_entry(const char *filename, struct mcp_device_id *id, | ||
779 | char *alias) | ||
780 | { | ||
781 | sprintf(alias, MCP_MODULE_PREFIX "%s", id->name); | ||
782 | |||
783 | return 1; | ||
784 | } | ||
785 | |||
777 | static const struct dmifield { | 786 | static const struct dmifield { |
778 | const char *prefix; | 787 | const char *prefix; |
779 | int field; | 788 | int field; |
@@ -1095,6 +1104,10 @@ void handle_moddevtable(struct module *mod, struct elf_info *info, | |||
1095 | do_table(symval, sym->st_size, | 1104 | do_table(symval, sym->st_size, |
1096 | sizeof(struct spi_device_id), "spi", | 1105 | sizeof(struct spi_device_id), "spi", |
1097 | do_spi_entry, mod); | 1106 | do_spi_entry, mod); |
1107 | else if (sym_is(symname, "__mod_mcp_device_table")) | ||
1108 | do_table(symval, sym->st_size, | ||
1109 | sizeof(struct mcp_device_id), "mcp", | ||
1110 | do_mcp_entry, mod); | ||
1098 | else if (sym_is(symname, "__mod_dmi_device_table")) | 1111 | else if (sym_is(symname, "__mod_dmi_device_table")) |
1099 | do_table(symval, sym->st_size, | 1112 | do_table(symval, sym->st_size, |
1100 | sizeof(struct dmi_system_id), "dmi", | 1113 | sizeof(struct dmi_system_id), "dmi", |