提交 09857e35 编写于 作者: G Greg Kroah-Hartman

Firmware: fix typo in example code

It's not like this stuff even builds right now, but this will make
Randy's scripts happy :)


Cc: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 ff543332
...@@ -124,7 +124,7 @@ static int fw_setup_class_device(struct class_device *class_dev, ...@@ -124,7 +124,7 @@ static int fw_setup_class_device(struct class_device *class_dev,
class_dev->class_id[BUS_ID_SIZE-1] = '\0'; class_dev->class_id[BUS_ID_SIZE-1] = '\0';
class_dev->dev = device; class_dev->dev = device;
class_dev->class = &firmware_class, class_dev->class = &firmware_class;
class_set_devdata(class_dev, fw_priv); class_set_devdata(class_dev, fw_priv);
retval = class_device_register(class_dev); retval = class_device_register(class_dev);
if (retval) { if (retval) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册