summaryrefslogtreecommitdiffstats
path: root/samples/firmware_class
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-05-22 00:21:38 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2008-07-22 06:54:41 +0200
commit09857e35cdccf2457bb03c6d7595adc210a517cc (patch)
treefb7bf4ed7f16d7503edde2dcd4e3370171e94e27 /samples/firmware_class
parentdebugfs: Add a reference to the debugfs API documentation. (diff)
downloadlinux-09857e35cdccf2457bb03c6d7595adc210a517cc.tar.xz
linux-09857e35cdccf2457bb03c6d7595adc210a517cc.zip
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: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'samples/firmware_class')
-rw-r--r--samples/firmware_class/firmware_sample_firmware_class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/firmware_class/firmware_sample_firmware_class.c b/samples/firmware_class/firmware_sample_firmware_class.c
index 9392116e47b0..e6cf7a43a297 100644
--- a/samples/firmware_class/firmware_sample_firmware_class.c
+++ b/samples/firmware_class/firmware_sample_firmware_class.c
@@ -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) {