mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
1ccea77e2a
Based on 2 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details you should have received a copy of the gnu general public license along with this program if not see http www gnu org licenses this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details [based] [from] [clk] [highbank] [c] you should have received a copy of the gnu general public license along with this program if not see http www gnu org licenses extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 355 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Jilayne Lovejoy <opensource@jilayne.com> Reviewed-by: Steve Winslow <swinslow@gmail.com> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190519154041.837383322@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
25 lines
596 B
C
25 lines
596 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Copyright (c) 2015 HiSilicon Technologies Co., Ltd.
|
|
*/
|
|
|
|
#ifndef __HISI_RESET_H
|
|
#define __HISI_RESET_H
|
|
|
|
struct device_node;
|
|
struct hisi_reset_controller;
|
|
|
|
#ifdef CONFIG_RESET_CONTROLLER
|
|
struct hisi_reset_controller *hisi_reset_init(struct platform_device *pdev);
|
|
void hisi_reset_exit(struct hisi_reset_controller *rstc);
|
|
#else
|
|
static inline
|
|
struct hisi_reset_controller *hisi_reset_init(struct platform_device *pdev)
|
|
{
|
|
return 0;
|
|
}
|
|
static inline void hisi_reset_exit(struct hisi_reset_controller *rstc)
|
|
{}
|
|
#endif
|
|
|
|
#endif /* __HISI_RESET_H */
|