]>
git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - include/linux/wl12xx.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * This file is part of wl12xx
5 * Copyright (C) 2009 Nokia Corporation
7 * Contact: Luciano Coelho <luciano.coelho@nokia.com>
10 #ifndef _LINUX_WL12XX_H
11 #define _LINUX_WL12XX_H
13 #include <linux/err.h>
15 struct wl1251_platform_data
{
17 /* SDIO only: IRQ number if WLAN_IRQ line is used, 0 for SDIO IRQs */
22 #ifdef CONFIG_WILINK_PLATFORM_DATA
24 int wl1251_set_platform_data(const struct wl1251_platform_data
*data
);
26 struct wl1251_platform_data
*wl1251_get_platform_data(void);
31 int wl1251_set_platform_data(const struct wl1251_platform_data
*data
)
37 struct wl1251_platform_data
*wl1251_get_platform_data(void)
39 return ERR_PTR(-ENODATA
);