aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/pvpanic/pvpanic.h
blob: 4935459517548762645f2c0f1ba08241852af0d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// SPDX-License-Identifier: GPL-2.0+
/*
 *  Pvpanic Device Support
 *
 *  Copyright (C) 2021 Oracle.
 */

#ifndef PVPANIC_H_
#define PVPANIC_H_

struct pvpanic_instance {
	void __iomem *base;
	unsigned int capability;
	unsigned int events;
	struct list_head list;
};

int devm_pvpanic_probe(struct device *dev, struct pvpanic_instance *pi);

#endif /* PVPANIC_H_ */