From: Greg Kroah-Hartman Date: Thu, 22 Aug 2013 15:34:39 +0000 (-0700) Subject: acpi: bgrt: fix build error due to attribute change X-Git-Tag: firefly_0821_release~176^2~5472^2~37 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=028718a5cc6e35ae7e220839fa6b61e2a6f12ca3;p=firefly-linux-kernel-4.4.55.git 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 Cc: Len Brown Cc: "Rafael J. Wysocki" Signed-off-by: Greg Kroah-Hartman --- 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;