Re: help with fixing code for 2.6.29-rc7

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

 



On Thursday 12 March 2009, Norbert Preining wrote:
> Hi everyone,
> 
> I am trying to fix some code for 2.6.29-rc7:
> 
> ... acpi_handle handle ...
> 
>         struct acpi_namespace_node *node;
>         union acpi_operand_object *operand;
> 
> 1       node = (struct acpi_namespace_node *)handle;
> 2       operand = (union acpi_operand_object *)node->object;
> 
> 3       printk(KERN_WARNING DRV_PFX "method: name: %4.4s, args %X\n", node->name.ascii,
> 4              (u32) operand->method.param_count);
> 
> Compiling that I get errors
> 	error: dereferencing pointer to incomplete type
> in line 2,3,4.
> 
> Any suggestion how to fix that?

Seemingly, struct acpi_namespace_node is undefined.

Thanks,
Rafael
--
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