Skip to contentSkip to conversation

barebox:usb_gadget:Remove compilation error.

PATCH In review Marek Belisko 2 participants 4 messages Oct 25, 2010 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 barebox:usb_gadget:Remove compilation error.

Missing include <init.h> caused that __initdata was undeclared what lead to compilation error.

---
 drivers/usb/gadget/epautoconf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/usb/gadget/epautoconf.c +1 -1
index e549792..78f3099 100644
@@ -18,7 +18,7 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  *
  */
-
+#include <init.h>
 #include <common.h>
 #include <linux/ctype.h>
 #include <asm/byteorder.h>
Signature · 7 lines
1.7.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#1 lore raw

Hi Marek,

Quoted 2 lines · Marek Belisko

Missing include <init.h> caused that __initdata was undeclared what lead to compilation error.

You probably mean the master branch, because next already has a fix for this from Eric. I cherry-picked his patch to the master branch.

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw

Hi Sascha,

Quoted 8 lines · Sascha Hauer

Hi Marek,

Quoted 2 lines · Marek Belisko

Missing include <init.h> caused that __initdata was undeclared what lead to compilation error.

You probably mean the master branch, because next already has a fix for this from Eric. I cherry-picked his patch to the master branch.

Yes I found it in master branch. Suppose I have to use next branch when develop some new functionality.

Quoted 10 lines

Sascha

--
Pengutronix e.K.                           |                             | Industrial Linux Solutions                 | http://www.pengutronix.de/  | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    | Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

thanks,

marek

Signature · 15 lines
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
icq: 290551086
web: http://open-nandra.com

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#3 lore raw
Quoted 5 lines · Belisko Marek

Hi Sascha,

Quoted 2 lines · Sascha Hauer

Hi Marek,

Quoted 8 lines
Quoted 6 lines · Marek Belisko
Quoted 2 lines

Missing include <init.h> caused that __initdata was undeclared what lead to compilation error.

You probably mean the master branch, because next already has a fix for this from Eric. I cherry-picked his patch to the master branch.

Yes I found it in master branch. Suppose I have to use next branch when develop some new functionality.

In this case I'm glad you found this is relevant for the master branch ;)

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox