2021-03-24 22:49:14 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
/*
|
|
|
|
* Pvpanic Device Support
|
|
|
|
*
|
|
|
|
* Copyright (C) 2021 Oracle.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef PVPANIC_H_
|
|
|
|
#define PVPANIC_H_
|
|
|
|
|
2021-03-24 22:49:15 +08:00
|
|
|
struct pvpanic_instance {
|
|
|
|
void __iomem *base;
|
|
|
|
unsigned int capability;
|
|
|
|
unsigned int events;
|
|
|
|
struct list_head list;
|
|
|
|
};
|
|
|
|
|
2021-05-22 14:55:20 +08:00
|
|
|
int devm_pvpanic_probe(struct device *dev, struct pvpanic_instance *pi);
|
2021-03-24 22:49:14 +08:00
|
|
|
|
|
|
|
#endif /* PVPANIC_H_ */
|