601-rt2x00-introduce-rt2x00_platform_h.patch 804 B

1234567891011121314151617181920212223242526272829303132
  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/ralink/rt2x00/rt2x00.h
  24. +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00.h
  25. @@ -40,6 +40,7 @@
  26. #include <linux/average.h>
  27. #include <linux/usb.h>
  28. #include <linux/clk.h>
  29. +#include <linux/rt2x00_platform.h>
  30. #include <net/mac80211.h>