From eb0683f90d7eff652c74a6caa3fa927d9a269991 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sat, 23 Jul 2011 15:44:35 +0200 Subject: [PATCH] linux: Patched the kernel's ati_remote and ati_remote drivers so that they achore their devices at the correct location in the sysfs tree. Signed-off-by: Stephan Raue --- .../linux-3.0-053-ati_remote-0.1.patch | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 packages/linux/patches/linux-3.0-053-ati_remote-0.1.patch diff --git a/packages/linux/patches/linux-3.0-053-ati_remote-0.1.patch b/packages/linux/patches/linux-3.0-053-ati_remote-0.1.patch new file mode 100644 index 0000000000..4d3d03db11 --- /dev/null +++ b/packages/linux/patches/linux-3.0-053-ati_remote-0.1.patch @@ -0,0 +1,24 @@ +diff -Naur linux-3.0-old/drivers/input/misc/ati_remote2.c linux-3.0-new/drivers/input/misc/ati_remote2.c +--- linux-3.0-old/drivers/input/misc/ati_remote2.c 2011-07-22 08:42:47.000000000 -0700 ++++ linux-3.0-new/drivers/input/misc/ati_remote2.c 2011-07-22 08:44:20.000000000 -0700 +@@ -619,7 +619,7 @@ + idev->phys = ar2->phys; + + usb_to_input_id(ar2->udev, &idev->id); +- idev->dev.parent = &ar2->udev->dev; ++ idev->dev.parent = &ar2->intf[0]->dev; + + retval = input_register_device(idev); + if (retval) +diff -Naur linux-3.0-old/drivers/input/misc/ati_remote.c linux-3.0-new/drivers/input/misc/ati_remote.c +--- linux-3.0-old/drivers/input/misc/ati_remote.c 2011-07-22 08:42:47.000000000 -0700 ++++ linux-3.0-new/drivers/input/misc/ati_remote.c 2011-07-22 08:44:20.000000000 -0700 +@@ -682,7 +682,7 @@ + idev->phys = ati_remote->phys; + + usb_to_input_id(ati_remote->udev, &idev->id); +- idev->dev.parent = &ati_remote->udev->dev; ++ idev->dev.parent = &ati_remote->interface->dev; + } + + static int ati_remote_initialize(struct ati_remote *ati_remote)