Re: [patch 2.6.24-rc1-git] properly hookup acpi buttons to driver model tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi David,

On Nov 6, 2007 3:07 PM, David Brownell <david-b@xxxxxxxxxxx> wrote:
> --- g26.orig/drivers/acpi/button.c      2007-11-04 11:47:40.000000000 -0800
> +++ g26/drivers/acpi/button.c   2007-11-04 11:48:50.000000000 -0800
> @@ -395,6 +395,7 @@ static int acpi_button_add(struct acpi_d
>                error = -ENOMEM;
>                goto err_free_button;
>        }
> +       input->cdev.dev = &device->dev;
>

Don't use cdev, I will be gone as of 2.6.25. Use input_dev->dev.parent
please. Actually I sent a bunch of patches to ACPI/video to Len/ACPI
list a couple of days ago.

-- 
Dmitry
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux