mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6
Trivial manual merge fixup for usb_find_interface clashes.
This commit is contained in:
commit
db9edfd7e3
64 changed files with 869 additions and 814 deletions
|
|
@ -56,7 +56,6 @@
|
|||
#include <linux/mm.h>
|
||||
#include <linux/smp.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/kobject_uevent.h>
|
||||
#include <linux/completion.h>
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/dmi.h>
|
||||
|
|
@ -106,8 +105,6 @@ static int pnp_dock_event(int dock, struct pnp_docking_station_info *info)
|
|||
char *argv [3], **envp, *buf, *scratch;
|
||||
int i = 0, value;
|
||||
|
||||
if (!hotplug_path [0])
|
||||
return -ENOENT;
|
||||
if (!current->fs->root) {
|
||||
return -EAGAIN;
|
||||
}
|
||||
|
|
@ -119,8 +116,9 @@ static int pnp_dock_event(int dock, struct pnp_docking_station_info *info)
|
|||
return -ENOMEM;
|
||||
}
|
||||
|
||||
/* only one standardized param to hotplug command: type */
|
||||
argv [0] = hotplug_path;
|
||||
/* FIXME: if there are actual users of this, it should be integrated into
|
||||
* the driver core and use the usual infrastructure like sysfs and uevents */
|
||||
argv [0] = "/sbin/pnpbios";
|
||||
argv [1] = "dock";
|
||||
argv [2] = NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue