Merge tag 'driver-core-3.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
Pull driver core updates from Greg Kroah-Hartman:
"Here's the driver core, and other driver subsystems, pull request for
the 3.5-rc1 merge window.
Outside of a few minor driver core changes, we ended up with the
following different subsystem and core changes as well, due to
interdependancies on the driver core:
- hyperv driver updates
- drivers/memory being created and some drivers moved into it
- extcon driver subsystem created out of the old Android staging
switch driver code
- dynamic debug updates
- printk rework, and /dev/kmsg changes
All of this has been tested in the linux-next releases for a few weeks
with no reported problems.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>"
Fix up conflicts in drivers/extcon/extcon-max8997.c where git noticed
that a patch to the deleted drivers/misc/max8997-muic.c driver needs to
be applied to this one.
* tag 'driver-core-3.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (90 commits)
uio_pdrv_genirq: get irq through platform resource if not set otherwise
memory: tegra{20,30}-mc: Remove empty *_remove()
printk() - isolate KERN_CONT users from ordinary complete lines
sysfs: get rid of some lockdep false positives
Drivers: hv: util: Properly handle version negotiations.
Drivers: hv: Get rid of an unnecessary check in vmbus_prep_negotiate_resp()
memory: tegra{20,30}-mc: Use dev_err_ratelimited()
driver core: Add dev_*_ratelimited() family
Driver Core: don't oops with unregistered driver in driver_find_device()
printk() - restore prefix/timestamp printing for multi-newline strings
printk: add stub for prepend_timestamp()
ARM: tegra30: Make MC optional in Kconfig
ARM: tegra20: Make MC optional in Kconfig
ARM: tegra30: MC: Remove unnecessary BUG*()
ARM: tegra20: MC: Remove unnecessary BUG*()
printk: correctly align __log_buf
ARM: tegra30: Add Tegra Memory Controller(MC) driver
ARM: tegra20: Add Tegra Memory Controller(MC) driver
printk() - restore timestamp printing at console output
printk() - do not merge continuation lines of different threads
...
This commit is contained in:
@@ -99,34 +99,11 @@ struct max8997_muic_reg_data {
|
||||
|
||||
/**
|
||||
* struct max8997_muic_platform_data
|
||||
* @usb_callback: callback function for USB
|
||||
* inform callee of USB type (HOST or DEVICE)
|
||||
* and attached state(true or false)
|
||||
* @charger_callback: callback function for charger
|
||||
* inform callee of charger_type
|
||||
* and attached state(true or false)
|
||||
* @deskdock_callback: callback function for desk dock
|
||||
* inform callee of attached state(true or false)
|
||||
* @cardock_callback: callback function for car dock
|
||||
* inform callee of attached state(true or false)
|
||||
* @mhl_callback: callback function for MHL (Mobile High-definition Link)
|
||||
* inform callee of attached state(true or false)
|
||||
* @uart_callback: callback function for JIG UART
|
||||
* inform callee of attached state(true or false)
|
||||
* @init_data: array of max8997_muic_reg_data
|
||||
* used for initializing registers of MAX8997 MUIC device
|
||||
* @num_init_data: array size of init_data
|
||||
*/
|
||||
struct max8997_muic_platform_data {
|
||||
void (*usb_callback)(enum max8997_muic_usb_type usb_type,
|
||||
bool attached);
|
||||
void (*charger_callback)(bool attached,
|
||||
enum max8997_muic_charger_type charger_type);
|
||||
void (*deskdock_callback) (bool attached);
|
||||
void (*cardock_callback) (bool attached);
|
||||
void (*mhl_callback) (bool attached);
|
||||
void (*uart_callback) (bool attached);
|
||||
|
||||
struct max8997_muic_reg_data *init_data;
|
||||
int num_init_data;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user