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