aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga
diff options
context:
space:
mode:
authorMoritz Fischer2019-06-26 17:33:09 -0700
committerMoritz Fischer2019-07-24 14:11:52 -0700
commit71d8e94dabee7fceac473d87445a03e848469a71 (patch)
treec5fea52f23c73c24e4e7aee8975a9ef3c5f43287 /include/linux/fpga
parent998c1de56dac7ff6bad4f810259cc25c7d6d2843 (diff)
fpga: altera-pr-ip: Make alt_pr_unregister function void
Make alt_pr_unregister function void, since it always returns 0, and nothing would act on the value anyways. Signed-off-by: Moritz Fischer <mdf@kernel.org>
Diffstat (limited to 'include/linux/fpga')
-rw-r--r--include/linux/fpga/altera-pr-ip-core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fpga/altera-pr-ip-core.h b/include/linux/fpga/altera-pr-ip-core.h
index 7d4664730d60..0b08ac20ab16 100644
--- a/include/linux/fpga/altera-pr-ip-core.h
+++ b/include/linux/fpga/altera-pr-ip-core.h
@@ -13,6 +13,6 @@
#include <linux/io.h>
int alt_pr_register(struct device *dev, void __iomem *reg_base);
-int alt_pr_unregister(struct device *dev);
+void alt_pr_unregister(struct device *dev);
#endif /* _ALT_PR_IP_CORE_H */