[2/2] fpga: altera-cvp: Fix function definition argument
diff mbox series

Message ID 20181108011312.29587-3-capetry.dev@gmail.com
State Queued
Delegated to: Moritz Fischer
Headers show
Series
  • fpga: altera-cvp: clean checkpatch faults
Related show

Commit Message

capetry.dev@gmail.com Nov. 8, 2018, 1:13 a.m. UTC
From: Carlos A Petry <capetry.dev@gmail.com>

Fix the following checkpatch warning:
WARNING: function definition argument 'struct altera_cvp_conf *'

Signed-off-by: Carlos A Petry <capetry.dev@gmail.com>

---
 drivers/fpga/altera-cvp.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/drivers/fpga/altera-cvp.c b/drivers/fpga/altera-cvp.c
index 45b7c8c0b..150a9f5dd 100644
--- a/drivers/fpga/altera-cvp.c
+++ b/drivers/fpga/altera-cvp.c
@@ -66,7 +66,8 @@  struct altera_cvp_conf {
 	struct fpga_manager	*mgr;
 	struct pci_dev		*pci_dev;
 	void __iomem		*map;
-	void			(*write_data)(struct altera_cvp_conf *, u32);
+	void			(*write_data)(struct altera_cvp_conf *conf,
+					      u32 data);
 	char			mgr_name[64];
 	u8			numclks;
 };