提交 998c1de5 编写于 作者: C Carlos A Petry 提交者: Moritz Fischer

fpga: altera-cvp: Fix function definition argument

Fix the following checkpatch warning:
WARNING: function definition argument 'struct altera_cvp_conf *'
Signed-off-by: NCarlos A Petry <capetry.dev@gmail.com>
Signed-off-by: NMoritz Fischer <mdf@kernel.org>
上级 5f9e832c
...@@ -57,7 +57,8 @@ struct altera_cvp_conf { ...@@ -57,7 +57,8 @@ struct altera_cvp_conf {
struct fpga_manager *mgr; struct fpga_manager *mgr;
struct pci_dev *pci_dev; struct pci_dev *pci_dev;
void __iomem *map; 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]; char mgr_name[64];
u8 numclks; u8 numclks;
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册