This API will be called by the host drivers to un-register the PM APIs Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
34 lines
1.2 KiB
C
34 lines
1.2 KiB
C
/* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 and
|
|
* only version 2 as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
*/
|
|
|
|
#ifndef _WCNSS_WLAN_H_
|
|
#define _WCNSS_WLAN_H_
|
|
|
|
#include <linux/device.h>
|
|
|
|
#define WCNSS_WLAN_IRQ_INVALID -1
|
|
|
|
struct device *wcnss_wlan_get_device(void);
|
|
struct resource *wcnss_wlan_get_memory_map(struct device *dev);
|
|
int wcnss_wlan_get_dxe_tx_irq(struct device *dev);
|
|
int wcnss_wlan_get_dxe_rx_irq(struct device *dev);
|
|
void wcnss_wlan_register_pm_ops(struct device *dev,
|
|
const struct dev_pm_ops *pm_ops);
|
|
void wcnss_wlan_unregister_pm_ops(struct device *dev,
|
|
const struct dev_pm_ops *pm_ops);
|
|
|
|
#define wcnss_wlan_get_drvdata(dev) dev_get_drvdata(dev)
|
|
#define wcnss_wlan_set_drvdata(dev, data) dev_set_drvdata((dev), (data))
|
|
|
|
#endif /* _WCNSS_WLAN_H_ */
|