ath9k: add some cleanups and minor fixes
[openwrt/svn-archive/archive.git] / package / kernel / mac80211 / patches / 602-rt2x00-introduce-rt2x00_platform_h.patch
1 --- /dev/null
2 +++ b/include/linux/rt2x00_platform.h
3 @@ -0,0 +1,19 @@
4 +/*
5 + * Platform data definition for the rt2x00 driver
6 + *
7 + * Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
8 + *
9 + * This program is free software; you can redistribute it and/or modify it
10 + * under the terms of the GNU General Public License version 2 as published
11 + * by the Free Software Foundation.
12 + *
13 + */
14 +
15 +#ifndef _RT2X00_PLATFORM_H
16 +#define _RT2X00_PLATFORM_H
17 +
18 +struct rt2x00_platform_data {
19 + char *eeprom_file_name;
20 +};
21 +
22 +#endif /* _RT2X00_PLATFORM_H */
23 --- a/drivers/net/wireless/rt2x00/rt2x00.h
24 +++ b/drivers/net/wireless/rt2x00/rt2x00.h
25 @@ -39,6 +39,7 @@
26 #include <linux/input-polldev.h>
27 #include <linux/kfifo.h>
28 #include <linux/hrtimer.h>
29 +#include <linux/rt2x00_platform.h>
30
31 #include <net/mac80211.h>
32