summaryrefslogtreecommitdiff
path: root/drivers/fpga/altera-cvp.c
diff options
context:
space:
mode:
authorCarlos A Petry <capetry.dev@gmail.com>2018-11-08 04:13:12 +0300
committerMoritz Fischer <mdf@kernel.org>2019-07-25 00:10:42 +0300
commit998c1de56dac7ff6bad4f810259cc25c7d6d2843 (patch)
treef26dc431fc89c4898cf959aa0e42c356cf43ecf8 /drivers/fpga/altera-cvp.c
parent5f9e832c137075045d15cd6899ab0505cfb2ca4b (diff)
downloadlinux-998c1de56dac7ff6bad4f810259cc25c7d6d2843.tar.xz
fpga: altera-cvp: Fix function definition argument
Fix the following checkpatch warning: WARNING: function definition argument 'struct altera_cvp_conf *' Signed-off-by: Carlos A Petry <capetry.dev@gmail.com> Signed-off-by: Moritz Fischer <mdf@kernel.org>
Diffstat (limited to 'drivers/fpga/altera-cvp.c')
-rw-r--r--drivers/fpga/altera-cvp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/fpga/altera-cvp.c b/drivers/fpga/altera-cvp.c
index 770915fb97f9..53b963071c7b 100644
--- a/drivers/fpga/altera-cvp.c
+++ b/drivers/fpga/altera-cvp.c
@@ -57,7 +57,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;
};