Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 78acd587 authored by Javier Martinez Canillas's avatar Javier Martinez Canillas Committed by Greg Kroah-Hartman
Browse files

Staging: bcm: Bcmchar: Fix some checkpatch errors

parent 7227ba06
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -2100,7 +2100,7 @@ static long bcm_char_ioctl(struct file *filp, UINT cmd, ULONG arg)
}


static struct file_operations bcm_fops = {
static const struct file_operations bcm_fops = {
	.owner    = THIS_MODULE,
	.open     = bcm_char_open,
	.release  = bcm_char_release,
@@ -2124,8 +2124,8 @@ int register_control_device_interface(PMINI_ADAPTER Adapter)
	}

	Adapter->pstCreatedClassDevice = device_create(bcm_class, NULL,
							MKDEV(Adapter->major, 0), Adapter,
							DEV_NAME);
						       MKDEV(Adapter->major, 0),
						       Adapter, DEV_NAME);

	if (IS_ERR(Adapter->pstCreatedClassDevice)) {
		pr_err(DRV_NAME ": class device create failed\n");