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

Commit bc154a38 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Staging: heci: fix checkpatch warnings



This resolves the outstanding scripts/checkpatch.pl warnings

Cc: Anas Nashif <anas.nashif@intel.com>
Cc: Marcin Obara <marcin.obara@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 44192679
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -175,7 +175,7 @@ static struct pci_driver heci_driver = {
/*
 * file operations structure will be use heci char device.
 */
static struct file_operations heci_fops = {
static const struct file_operations heci_fops = {
	.owner = THIS_MODULE,
	.read = heci_read,
	.ioctl = heci_ioctl,
@@ -195,7 +195,7 @@ static struct file_operations heci_fops = {
 * returns 0 on success, <0 on failure.
 */
static int heci_registration_cdev(struct cdev *dev, int hminor,
				  struct file_operations *fops)
				  const struct file_operations *fops)
{
	int ret, devno = MKDEV(heci_major, hminor);