aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
Diffstat (limited to 'samples')
-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,
124 class_dev->class_id[BUS_ID_SIZE-1] = '\0'; 124 class_dev->class_id[BUS_ID_SIZE-1] = '\0';
125 class_dev->dev = device; 125 class_dev->dev = device;
126 126
127 class_dev->class = &firmware_class, 127 class_dev->class = &firmware_class;
128 class_set_devdata(class_dev, fw_priv); 128 class_set_devdata(class_dev, fw_priv);
129 retval = class_device_register(class_dev); 129 retval = class_device_register(class_dev);
130 if (retval) { 130 if (retval) {