Skip to content

Commit

Permalink
acpi: bgrt: fix build error due to attribute change
Browse files Browse the repository at this point in the history
No need to call sysfs_bin_attr_init, as the attribute is not dynamically
created.  Also, we renamed the attribute, so this one isn't even valid
anymore.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Len Brown <lenb@kernel.org>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Greg Kroah-Hartman committed Aug 22, 2013
1 parent 5da5c9c commit 028718a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/acpi/bgrt.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ static int __init bgrt_init(void)
if (!bgrt_image)
return -ENODEV;

sysfs_bin_attr_init(&image_attr);
bin_attr_image.private = bgrt_image;
bin_attr_image.size = bgrt_image_size;

Expand Down

0 comments on commit 028718a

Please sign in to comment.