X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=drivers%2Facpi%2Fdock.c;h=578b99b71d9ce12556fe398bf5dfb196e8739f27;hb=991528d7348667924176f3e29addea0675298944;hp=1c0a39d8b04e5de9474cf2b0ec967a8633fca3fe;hpb=7d450e00711bf8c72fc781677f7abc08d227578e;p=powerpc.git diff --git a/drivers/acpi/dock.c b/drivers/acpi/dock.c index 1c0a39d8b0..578b99b71d 100644 --- a/drivers/acpi/dock.c +++ b/drivers/acpi/dock.c @@ -58,8 +58,8 @@ struct dock_dependent_device { }; #define DOCK_DOCKING 0x00000001 -#define DOCK_EVENT KOBJ_DOCK -#define UNDOCK_EVENT KOBJ_UNDOCK +#define DOCK_EVENT 3 +#define UNDOCK_EVENT 2 static struct dock_station *dock_station; @@ -322,11 +322,10 @@ static void hotplug_dock_devices(struct dock_station *ds, u32 event) static void dock_event(struct dock_station *ds, u32 event, int num) { - struct acpi_device *device; - - device = dock_create_acpi_device(ds->handle); - if (device) - kobject_uevent(&device->kobj, num); + /* + * we don't do events until someone tells me that + * they would like to have them. + */ } /**