[rt2x00-users] rt2x00: Make rt2800_write_beacon only export to GPL

Gertjan van Wingerde gwingerde at gmail.com
Tue Jul 6 00:34:07 AEST 2010


On Mon, Jul 5, 2010 at 3:56 PM, Ivo van Doorn <ivdoorn at gmail.com> wrote:
> rt2800_write_beacon is the only function which uses
> EXPORT_SYMBOL instead of EXPORT_SYMBOL_GPL. All symbols
> in rt2x00 should however use the GPL restricted export.
>
> Signed-off-by: Ivo van Doorn <IvDoorn at gmail.com>

Agreed.

Acked-by: Gertjan van Wingerde <gwingerde at gmail.com>

> ---
>  drivers/net/wireless/rt2x00/rt2800lib.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c
> index 9d40387..c38d2a4 100644
> --- a/drivers/net/wireless/rt2x00/rt2800lib.c
> +++ b/drivers/net/wireless/rt2x00/rt2800lib.c
> @@ -473,7 +473,7 @@ void rt2800_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc)
>        dev_kfree_skb_any(entry->skb);
>        entry->skb = NULL;
>  }
> -EXPORT_SYMBOL(rt2800_write_beacon);
> +EXPORT_SYMBOL_GPL(rt2800_write_beacon);
>
>  static void inline rt2800_clear_beacon(struct rt2x00_dev *rt2x00dev,
>                                       unsigned int beacon_base)
> --
> 1.6.6.1
>
>
> _______________________________________________
> users mailing list
> users at rt2x00.serialmonkey.com
> http://rt2x00.serialmonkey.com/mailman/listinfo/users_rt2x00.serialmonkey.com
>




More information about the users mailing list