diff options
author | Carlos A Petry <capetry.dev@gmail.com> | 2018-11-07 23:13:12 -0200 |
---|---|---|
committer | Moritz Fischer <mdf@kernel.org> | 2019-07-24 14:10:42 -0700 |
commit | 998c1de56dac7ff6bad4f810259cc25c7d6d2843 (patch) | |
tree | f26dc431fc89c4898cf959aa0e42c356cf43ecf8 /drivers/fpga | |
parent | 5f9e832c137075045d15cd6899ab0505cfb2ca4b (diff) | |
download | linux-998c1de56dac7ff6bad4f810259cc25c7d6d2843.tar.gz linux-998c1de56dac7ff6bad4f810259cc25c7d6d2843.tar.bz2 linux-998c1de56dac7ff6bad4f810259cc25c7d6d2843.zip |
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')
-rw-r--r-- | drivers/fpga/altera-cvp.c | 3 |
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; }; |