Skip to content

Commit

Permalink
Firmware: fix typo in example code
Browse files Browse the repository at this point in the history
It's not like this stuff even builds right now, but this will make
Randy's scripts happy :)


Cc: Randy Dunlap <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
gregkh committed Jul 22, 2008
1 parent ff54333 commit 09857e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/firmware_class/firmware_sample_firmware_class.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 09857e3

Please sign in to comment.