提交 028718a5 编写于 作者: G Greg Kroah-Hartman

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: NStephen Rothwell <sfr@canb.auug.org.au>
Cc: Len Brown <lenb@kernel.org>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 5da5c9c8
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册