Re: [PATCH] backports: backport ACPI_HANDLE(dev)

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

 



Hi,

On Wed, Feb 12, 2014 at 12:10:11PM +0100, Johannes Berg wrote:
> Hmm, come to think of it...
> 
> On Tue, 2014-02-11 at 08:40 +0200, Emmanuel Grumbach wrote:
> 
> > +++ b/backport/backport-include/linux/acpi.h
> > @@ -0,0 +1,40 @@
> > +#ifndef __BACKPORT_LINUX_ACPI_H
> > +#define __BACKPORT_LINUX_ACPI_H
> > +#include_next <linux/acpi.h>
> > +#include_next <linux/device.h>
> 
> That include_next is probably wrong, if you really need linux/device.h
> you shouldn't use #include_next but a regular #include.

My intention was to load the kernel's device.h and not backport's. The
reason was that some definitions which are now part of acpi.h were
defined by device.h in the past.

That being said, backport's device.h includes the kernel's version, so
this can be modified to a regular #include and work just as well.

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux