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

Stephen Rothwell
2013-08-22T05:39:53Z

[-- Attachment #1: Type: text/plain, Size: 1343 bytes --]

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@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]