30 lines · c
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: rt2x00soc10 Abstract: Data structures for the rt2x00soc module.11 */12 13#ifndef RT2X00SOC_H14#define RT2X00SOC_H15 16/*17 * SoC driver handlers.18 */19int rt2x00soc_probe(struct platform_device *pdev, const struct rt2x00_ops *ops);20int rt2x00soc_remove(struct platform_device *pdev);21#ifdef CONFIG_PM22int rt2x00soc_suspend(struct platform_device *pdev, pm_message_t state);23int rt2x00soc_resume(struct platform_device *pdev);24#else25#define rt2x00soc_suspend NULL26#define rt2x00soc_resume NULL27#endif /* CONFIG_PM */28 29#endif /* RT2X00SOC_H */30