pvpanic.h 366 B

1234567891011121314151617181920
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Pvpanic Device Support
  4. *
  5. * Copyright (C) 2021 Oracle.
  6. */
  7. #ifndef PVPANIC_H_
  8. #define PVPANIC_H_
  9. struct pvpanic_instance {
  10. void __iomem *base;
  11. unsigned int capability;
  12. unsigned int events;
  13. struct list_head list;
  14. };
  15. int devm_pvpanic_probe(struct device *dev, struct pvpanic_instance *pi);
  16. #endif /* PVPANIC_H_ */