Re: [git pull request] ACPI patches for 2.6.36.merge

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

 



On Sun, Aug 15, 2010 at 12:41 PM, Sedat Dilek
<sedat.dilek@xxxxxxxxxxxxxx> wrote:
> I pulled in release GIT-branch on top of 2.6.35-git16 (commit
> 5d7cb157025b3b4852f38e6e5e97d06ef12c1d78)
>
>   $ git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git
> release
>
> Unfortunately, the build breaks:
>
> [ build.log ]
> drivers/acpi/power.c: In function ‘acpi_power_off_device’:
> drivers/acpi/power.c:252: error: ‘ref’ undeclared (first use in this function)
> drivers/acpi/power.c:252: error: (Each undeclared identifier is
> reported only once
> drivers/acpi/power.c:252: error: for each function it appears in.)
> make[5]: *** [drivers/acpi/power.o] Error 1
> make[4]: *** [drivers/acpi] Error 2
> make[3]: *** [drivers] Error 2
>

Attached patch is fixing the issue here.

- Sedat -
diff -rdup linux-2.6.orig/drivers/acpi/power.c linux-2.6/drivers/acpi/power.c
--- linux-2.6.orig/drivers/acpi/power.c
+++ linux-2.6/drivers/acpi/power.c
@@ -242,6 +242,7 @@ static int acpi_power_off_device(acpi_ha
 	acpi_status status = AE_OK;
 	struct acpi_power_resource *resource = NULL;
 	struct list_head *node, *next;
+	struct acpi_power_reference *ref;
 
 	result = acpi_power_get_context(handle, &resource);
 	if (result)

[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