alistair23-linux/include/linux/fpga/altera-pr-ip-core.h
Moritz Fischer 71d8e94dab 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>
2019-07-24 14:11:52 -07:00

19 lines
478 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Driver for Altera Partial Reconfiguration IP Core
*
* Copyright (C) 2016 Intel Corporation
*
* Based on socfpga-a10.c Copyright (C) 2015-2016 Altera Corporation
* by Alan Tull <atull@opensource.altera.com>
*/
#ifndef _ALT_PR_IP_CORE_H
#define _ALT_PR_IP_CORE_H
#include <linux/io.h>
int alt_pr_register(struct device *dev, void __iomem *reg_base);
void alt_pr_unregister(struct device *dev);
#endif /* _ALT_PR_IP_CORE_H */