Re: ACPI vs proc_create_data() mismerge (was Re: proc_dir_entry 'info' already registered)

From: Justin Mattock
Date: Wed Apr 30 2008 - 20:24:29 EST


On Thu, May 1, 2008 at 12:07 AM, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
>
> On Thu, 1 May 2008, Alexey Dobriyan wrote:
> >
>
> > acpi_device_dir() is NULL until all files are createst, so everyting is
> > created in straight in /proc/ and creation code warns.
>
> Ok, I tested this on a laptop, it works for me. Committed. Thanks again,
>
> Linus
>


Hello; I ran into a problem, for some reason with adding:
acpi_device_dir(device) = device_dir;
I received:
acpi_video_device_aqdd_fs: implicit declaration of function acpi_device
lvalue required as left operand of assignment = after these errors, as a test
I went in and put /*acpi_device_dir(device); */ around that line then
recompiled, compiling went o.k., then rebooting
I'm not seeing any messages like before.
regards;


--
Justin P. Mattock
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/