Firmware: fix typo in example code
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 May 2008 22:21:38 +0000 (18:21 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 22 Jul 2008 04:54:41 +0000 (21:54 -0700)
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: Greg Kroah-Hartman <gregkh@suse.de>
samples/firmware_class/firmware_sample_firmware_class.c

index 9392116e47b009e1ef02f69f85ecff247f5b78b8..e6cf7a43a297f9473b155add043b7bfab56c6938 100644 (file)
@@ -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->dev = device;
 
-       class_dev->class = &firmware_class,
+       class_dev->class = &firmware_class;
        class_set_devdata(class_dev, fw_priv);
        retval = class_device_register(class_dev);
        if (retval) {