[rt2x00-users] [PATCH 3/8] rt2x00: introduce rt2x00_platform.h

Gabor Juhos juhosg at openwrt.org
Thu Nov 29 07:51:25 AEDT 2012


2012.11.28. 19:04 keltezéssel, Daniel Golle írta:
> 
>  create mode 100644 include/linux/rt2x00_platform.h

The patch makes no sense without 4/8, so this should be merged into that. And
for completeness 5/8 should be merged into 4/8 as well IMO.

> diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h
> index 0751b35..1c3de63 100644
> --- a/drivers/net/wireless/rt2x00/rt2x00.h
> +++ b/drivers/net/wireless/rt2x00/rt2x00.h
> @@ -39,6 +39,7 @@
>  #include <linux/input-polldev.h>
>  #include <linux/kfifo.h>
>  #include <linux/hrtimer.h>
> +#include <linux/rt2x00_platform.h>
>  
>  #include <net/mac80211.h>
>  
> diff --git a/include/linux/rt2x00_platform.h b/include/linux/rt2x00_platform.h
> new file mode 100644
> index 0000000..80effa7
> --- /dev/null
> +++ b/include/linux/rt2x00_platform.h
> @@ -0,0 +1,19 @@
> +/*
> + * Platform data definition for the rt2x00 driver
> + *
> + * Copyright (C) 2011 Gabor Juhos <juhosg at openwrt.org>
> + *
> + * 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.
> + *
> + */
> +
> +#ifndef _RT2X00_PLATFORM_H
> +#define _RT2X00_PLATFORM_H
> +
> +struct rt2x00_platform_data {
> +	char *eeprom_file_name;
> +};
> +
> +#endif /* _RT2X00_PLATFORM_H */
> 





More information about the users mailing list