rt2x00soc.h 695 B

1234567891011121314151617181920212223242526272829
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. Copyright (C) 2004 - 2009 Ivo van Doorn <[email protected]>
  4. <http://rt2x00.serialmonkey.com>
  5. */
  6. /*
  7. Module: rt2x00soc
  8. Abstract: Data structures for the rt2x00soc module.
  9. */
  10. #ifndef RT2X00SOC_H
  11. #define RT2X00SOC_H
  12. /*
  13. * SoC driver handlers.
  14. */
  15. int rt2x00soc_probe(struct platform_device *pdev, const struct rt2x00_ops *ops);
  16. int rt2x00soc_remove(struct platform_device *pdev);
  17. #ifdef CONFIG_PM
  18. int rt2x00soc_suspend(struct platform_device *pdev, pm_message_t state);
  19. int rt2x00soc_resume(struct platform_device *pdev);
  20. #else
  21. #define rt2x00soc_suspend NULL
  22. #define rt2x00soc_resume NULL
  23. #endif /* CONFIG_PM */
  24. #endif /* RT2X00SOC_H */