linux-next: build failure after merge of the driver-core tree

From: Stephen Rothwell
Date: Thu Aug 22 2013 - 01:39:58 EST


Hi Greg,

After merging the driver-core tree, today's linux-next build (x86_64
allmodconfig) failed like this:

In file included from include/linux/kobject.h:21:0,
from include/linux/module.h:16,
from drivers/acpi/bgrt.c:11:
drivers/acpi/bgrt.c: In function 'bgrt_init':
drivers/acpi/bgrt.c:89:23: error: 'image_attr' undeclared (first use in this function)
sysfs_bin_attr_init(&image_attr);
^
include/linux/sysfs.h:53:3: note: in definition of macro 'sysfs_attr_init'
(attr)->key = &__key; \
^
drivers/acpi/bgrt.c:89:2: note: in expansion of macro 'sysfs_bin_attr_init'
sysfs_bin_attr_init(&image_attr);
^
drivers/acpi/bgrt.c:89:23: note: each undeclared identifier is reported only once for each function it appears in
sysfs_bin_attr_init(&image_attr);
^
include/linux/sysfs.h:53:3: note: in definition of macro 'sysfs_attr_init'
(attr)->key = &__key; \
^
drivers/acpi/bgrt.c:89:2: note: in expansion of macro 'sysfs_bin_attr_init'
sysfs_bin_attr_init(&image_attr);
^

Presumably caused by commit 65f44679580d ("ACPI: bgrt: take advantage of
binary sysfs groups").

I have used the driver-core tree from next-20130821 for today.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature