dp_altmode.h 420 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
  4. */
  5. #ifndef _DP_ALTMODE_H_
  6. #define _DP_ALTMODE_H_
  7. #include <linux/types.h>
  8. #include "dp_hpd.h"
  9. struct device;
  10. struct dp_altmode {
  11. struct dp_hpd base;
  12. };
  13. struct dp_hpd *dp_altmode_get(struct device *dev, struct dp_hpd_cb *cb);
  14. void dp_altmode_put(struct dp_hpd *pd);
  15. #endif /* _DP_ALTMODE_H_ */