diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-22 19:34:39 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-22 19:34:39 +0400 |
commit | 028718a5cc6e35ae7e220839fa6b61e2a6f12ca3 (patch) | |
tree | 8fac2ed2548c0a97bc1b9107ec83c14e23d3e9bb /drivers/acpi | |
parent | 5da5c9c899dc456d6eb43aae3e8d4e853b7f5306 (diff) | |
download | linux-028718a5cc6e35ae7e220839fa6b61e2a6f12ca3.tar.xz |
acpi: bgrt: fix build error due to attribute change
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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/bgrt.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/acpi/bgrt.c b/drivers/acpi/bgrt.c index 7a4128d96117..a83e3c62c5a9 100644 --- a/drivers/acpi/bgrt.c +++ b/drivers/acpi/bgrt.c @@ -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; |