Loading...
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Pvpanic Device Support
4 *
5 * Copyright (C) 2021 Oracle.
6 */
7
8#ifndef PVPANIC_H_
9#define PVPANIC_H_
10
11struct pvpanic_instance {
12 void __iomem *base;
13 unsigned int capability;
14 unsigned int events;
15 struct list_head list;
16};
17
18int devm_pvpanic_probe(struct device *dev, struct pvpanic_instance *pi);
19
20#endif /* PVPANIC_H_ */
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Pvpanic Device Support
4 *
5 * Copyright (C) 2021 Oracle.
6 */
7
8#ifndef PVPANIC_H_
9#define PVPANIC_H_
10
11#include <linux/compiler_types.h>
12
13struct attribute_group;
14struct device;
15
16int devm_pvpanic_probe(struct device *dev, void __iomem *base);
17extern const struct attribute_group *pvpanic_dev_groups[];
18
19#endif /* PVPANIC_H_ */