Commit ef2f8d45 authored by Kalle Valo's avatar Kalle Valo Committed by John W. Linville

wl1251: add wl1251 prefix to all 1251 files

Now that all 1271 files are split, we can add wl1251_ prefix to the files.
Signed-off-by: default avatarKalle Valo <kalle.valo@nokia.com>
Reviewed-by: default avatarVidhya Govindan <vidhya.govindan@nokia.com>
Reviewed-by: default avatarLuciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent c7318378
wl1251-objs = main.o spi.o event.o wl1251_tx.o rx.o \ wl1251-objs = wl1251_main.o wl1251_spi.o wl1251_event.o \
ps.o cmd.o acx.o boot.o init.o wl1251_ops.o \ wl1251_tx.o wl1251_rx.o wl1251_ps.o wl1251_cmd.o \
debugfs.o wl1251_acx.o wl1251_boot.o wl1251_init.o \
wl1251_ops.o wl1251_debugfs.o
obj-$(CONFIG_WL1251) += wl1251.o obj-$(CONFIG_WL1251) += wl1251.o
#include "acx.h" #include "wl1251_acx.h"
#include <linux/module.h> #include <linux/module.h>
#include <linux/crc7.h> #include <linux/crc7.h>
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
#include "wl12xx.h" #include "wl12xx.h"
#include "wl12xx_80211.h" #include "wl12xx_80211.h"
#include "reg.h" #include "reg.h"
#include "spi.h" #include "wl1251_spi.h"
#include "ps.h" #include "wl1251_ps.h"
int wl12xx_acx_frame_rates(struct wl12xx *wl, u8 ctrl_rate, u8 ctrl_mod, int wl12xx_acx_frame_rates(struct wl12xx *wl, u8 ctrl_rate, u8 ctrl_mod,
u8 mgt_rate, u8 mgt_mod) u8 mgt_rate, u8 mgt_mod)
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#define __WL12XX_ACX_H__ #define __WL12XX_ACX_H__
#include "wl12xx.h" #include "wl12xx.h"
#include "cmd.h" #include "wl1251_cmd.h"
/* Target's information element */ /* Target's information element */
struct acx_header { struct acx_header {
......
...@@ -24,9 +24,9 @@ ...@@ -24,9 +24,9 @@
#include <linux/gpio.h> #include <linux/gpio.h>
#include "reg.h" #include "reg.h"
#include "boot.h" #include "wl1251_boot.h"
#include "spi.h" #include "wl1251_spi.h"
#include "event.h" #include "wl1251_event.h"
static void wl12xx_boot_enable_interrupts(struct wl12xx *wl) static void wl12xx_boot_enable_interrupts(struct wl12xx *wl)
{ {
......
#include "cmd.h" #include "wl1251_cmd.h"
#include <linux/module.h> #include <linux/module.h>
#include <linux/crc7.h> #include <linux/crc7.h>
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
#include "wl12xx.h" #include "wl12xx.h"
#include "wl12xx_80211.h" #include "wl12xx_80211.h"
#include "reg.h" #include "reg.h"
#include "spi.h" #include "wl1251_spi.h"
#include "ps.h" #include "wl1251_ps.h"
#include "acx.h" #include "wl1251_acx.h"
/** /**
* send command to firmware * send command to firmware
......
...@@ -21,13 +21,13 @@ ...@@ -21,13 +21,13 @@
* *
*/ */
#include "debugfs.h" #include "wl1251_debugfs.h"
#include <linux/skbuff.h> #include <linux/skbuff.h>
#include "wl12xx.h" #include "wl12xx.h"
#include "acx.h" #include "wl1251_acx.h"
#include "ps.h" #include "wl1251_ps.h"
/* ms */ /* ms */
#define WL12XX_DEBUGFS_STATS_LIFETIME 1000 #define WL12XX_DEBUGFS_STATS_LIFETIME 1000
......
...@@ -24,9 +24,9 @@ ...@@ -24,9 +24,9 @@
#include "wl12xx.h" #include "wl12xx.h"
#include "reg.h" #include "reg.h"
#include "spi.h" #include "wl1251_spi.h"
#include "event.h" #include "wl1251_event.h"
#include "ps.h" #include "wl1251_ps.h"
static int wl12xx_event_scan_complete(struct wl12xx *wl, static int wl12xx_event_scan_complete(struct wl12xx *wl,
struct event_mailbox *mbox) struct event_mailbox *mbox)
......
...@@ -24,10 +24,10 @@ ...@@ -24,10 +24,10 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/module.h> #include <linux/module.h>
#include "init.h" #include "wl1251_init.h"
#include "wl12xx_80211.h" #include "wl12xx_80211.h"
#include "acx.h" #include "wl1251_acx.h"
#include "cmd.h" #include "wl1251_cmd.h"
int wl12xx_hw_init_hwenc_config(struct wl12xx *wl) int wl12xx_hw_init_hwenc_config(struct wl12xx *wl)
{ {
......
...@@ -35,13 +35,13 @@ ...@@ -35,13 +35,13 @@
#include "wl12xx_80211.h" #include "wl12xx_80211.h"
#include "reg.h" #include "reg.h"
#include "wl1251_ops.h" #include "wl1251_ops.h"
#include "spi.h" #include "wl1251_spi.h"
#include "event.h" #include "wl1251_event.h"
#include "wl1251_tx.h" #include "wl1251_tx.h"
#include "rx.h" #include "wl1251_rx.h"
#include "ps.h" #include "wl1251_ps.h"
#include "init.h" #include "wl1251_init.h"
#include "debugfs.h" #include "wl1251_debugfs.h"
static void wl12xx_disable_interrupts(struct wl12xx *wl) static void wl12xx_disable_interrupts(struct wl12xx *wl)
{ {
......
This diff is collapsed.
/*
* This file is part of wl12xx
*
* Copyright (C) 2009 Nokia Corporation
*
* Contact: Kalle Valo <kalle.valo@nokia.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#ifndef __WL12XX_NETLINK_H__
#define __WL12XX_NETLINK_H__
int wl12xx_nl_register(void);
void wl12xx_nl_unregister(void);
#endif /* __WL12XX_NETLINK_H__ */
...@@ -26,14 +26,14 @@ ...@@ -26,14 +26,14 @@
#include "wl1251_ops.h" #include "wl1251_ops.h"
#include "reg.h" #include "reg.h"
#include "spi.h" #include "wl1251_spi.h"
#include "boot.h" #include "wl1251_boot.h"
#include "event.h" #include "wl1251_event.h"
#include "acx.h" #include "wl1251_acx.h"
#include "wl1251_tx.h" #include "wl1251_tx.h"
#include "rx.h" #include "wl1251_rx.h"
#include "ps.h" #include "wl1251_ps.h"
#include "init.h" #include "wl1251_init.h"
static struct wl12xx_partition_set wl1251_part_table[PART_TABLE_LEN] = { static struct wl12xx_partition_set wl1251_part_table[PART_TABLE_LEN] = {
[PART_DOWN] = { [PART_DOWN] = {
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include <linux/bitops.h> #include <linux/bitops.h>
#include "wl12xx.h" #include "wl12xx.h"
#include "acx.h" #include "wl1251_acx.h"
#define WL1251_FW_NAME "wl1251-fw.bin" #define WL1251_FW_NAME "wl1251-fw.bin"
#define WL1251_NVS_NAME "wl1251-nvs.bin" #define WL1251_NVS_NAME "wl1251-nvs.bin"
......
...@@ -22,8 +22,8 @@ ...@@ -22,8 +22,8 @@
*/ */
#include "reg.h" #include "reg.h"
#include "ps.h" #include "wl1251_ps.h"
#include "spi.h" #include "wl1251_spi.h"
#define WL12XX_WAKEUP_TIMEOUT 2000 #define WL12XX_WAKEUP_TIMEOUT 2000
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
*/ */
#include "wl12xx.h" #include "wl12xx.h"
#include "acx.h" #include "wl1251_acx.h"
int wl12xx_ps_set_mode(struct wl12xx *wl, enum wl12xx_cmd_ps_mode mode); int wl12xx_ps_set_mode(struct wl12xx *wl, enum wl12xx_cmd_ps_mode mode);
void wl12xx_ps_elp_sleep(struct wl12xx *wl); void wl12xx_ps_elp_sleep(struct wl12xx *wl);
......
...@@ -27,8 +27,9 @@ ...@@ -27,8 +27,9 @@
#include "wl12xx.h" #include "wl12xx.h"
#include "reg.h" #include "reg.h"
#include "spi.h" #include "wl1251_spi.h"
#include "rx.h" #include "wl1251_rx.h"
#include "wl1251_acx.h"
static void wl12xx_rx_header(struct wl12xx *wl, static void wl12xx_rx_header(struct wl12xx *wl,
struct wl12xx_rx_descriptor *desc) struct wl12xx_rx_descriptor *desc)
......
...@@ -28,8 +28,7 @@ ...@@ -28,8 +28,7 @@
#include "wl12xx.h" #include "wl12xx.h"
#include "wl12xx_80211.h" #include "wl12xx_80211.h"
#include "reg.h" #include "reg.h"
#include "spi.h" #include "wl1251_spi.h"
#include "ps.h"
static int wl12xx_translate_reg_addr(struct wl12xx *wl, int addr) static int wl12xx_translate_reg_addr(struct wl12xx *wl, int addr)
{ {
......
...@@ -25,8 +25,8 @@ ...@@ -25,8 +25,8 @@
#ifndef __WL12XX_SPI_H__ #ifndef __WL12XX_SPI_H__
#define __WL12XX_SPI_H__ #define __WL12XX_SPI_H__
#include "cmd.h" #include "wl1251_cmd.h"
#include "acx.h" #include "wl1251_acx.h"
#include "reg.h" #include "reg.h"
#define HW_ACCESS_MEMORY_MAX_RANGE 0x1FFC0 #define HW_ACCESS_MEMORY_MAX_RANGE 0x1FFC0
......
...@@ -27,9 +27,9 @@ ...@@ -27,9 +27,9 @@
#include "wl12xx.h" #include "wl12xx.h"
#include "reg.h" #include "reg.h"
#include "spi.h" #include "wl1251_spi.h"
#include "wl1251_tx.h" #include "wl1251_tx.h"
#include "ps.h" #include "wl1251_ps.h"
static bool wl1251_tx_double_buffer_busy(struct wl12xx *wl, u32 data_out_count) static bool wl1251_tx_double_buffer_busy(struct wl12xx *wl, u32 data_out_count)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment