mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 23:21:46 +00:00
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.
This commit is contained in:
commit
21ebd6c68b
98 changed files with 3639 additions and 550 deletions
|
@ -774,6 +774,15 @@ static int do_spi_entry(const char *filename, struct spi_device_id *id,
|
|||
return 1;
|
||||
}
|
||||
|
||||
/* Looks like: mcp:S */
|
||||
static int do_mcp_entry(const char *filename, struct mcp_device_id *id,
|
||||
char *alias)
|
||||
{
|
||||
sprintf(alias, MCP_MODULE_PREFIX "%s", id->name);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
static const struct dmifield {
|
||||
const char *prefix;
|
||||
int field;
|
||||
|
@ -1095,6 +1104,10 @@ void handle_moddevtable(struct module *mod, struct elf_info *info,
|
|||
do_table(symval, sym->st_size,
|
||||
sizeof(struct spi_device_id), "spi",
|
||||
do_spi_entry, mod);
|
||||
else if (sym_is(symname, "__mod_mcp_device_table"))
|
||||
do_table(symval, sym->st_size,
|
||||
sizeof(struct mcp_device_id), "mcp",
|
||||
do_mcp_entry, mod);
|
||||
else if (sym_is(symname, "__mod_dmi_device_table"))
|
||||
do_table(symval, sym->st_size,
|
||||
sizeof(struct dmi_system_id), "dmi",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue