mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-09-03 02:16:09 +02:00

[ Upstream commitc1426d392a
] pvpanic-mmio.c and pvpanic-pci.c share a lot of code. Refactor it into pvpanic.c where it doesn't have to be kept in sync manually and where the core logic can be understood more easily. No functional change. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Link: https://lore.kernel.org/r/20231011-pvpanic-cleanup-v2-1-4b21d56f779f@weissschuh.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Stable-dep-of:ee59be35d7
("misc/pvpanic-pci: register attributes via pci_driver") Signed-off-by: Sasha Levin <sashal@kernel.org>
15 lines
293 B
C
15 lines
293 B
C
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Pvpanic Device Support
|
|
*
|
|
* Copyright (C) 2021 Oracle.
|
|
*/
|
|
|
|
#ifndef PVPANIC_H_
|
|
#define PVPANIC_H_
|
|
|
|
int devm_pvpanic_probe(struct device *dev, void __iomem *base);
|
|
extern const struct attribute_group *pvpanic_dev_groups[];
|
|
|
|
#endif /* PVPANIC_H_ */
|