mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] barebox:usb_gadget:Remove compilation error.
@ 2010-10-25 12:39 Marek Belisko
  2010-10-25 16:34 ` Sascha Hauer
  0 siblings, 1 reply; 4+ messages in thread
From: Marek Belisko @ 2010-10-25 12:39 UTC (permalink / raw)
  To: barebox

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

Signed-off-by: Marek Belisko <marek.belisko@gmail.com>
---
 drivers/usb/gadget/epautoconf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/gadget/epautoconf.c b/drivers/usb/gadget/epautoconf.c
index e549792..78f3099 100644
--- a/drivers/usb/gadget/epautoconf.c
+++ b/drivers/usb/gadget/epautoconf.c
@@ -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>
-- 
1.7.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] barebox:usb_gadget:Remove compilation error.
  2010-10-25 12:39 [PATCH] barebox:usb_gadget:Remove compilation error Marek Belisko
@ 2010-10-25 16:34 ` Sascha Hauer
  2010-10-25 17:07   ` Belisko Marek
  0 siblings, 1 reply; 4+ messages in thread
From: Sascha Hauer @ 2010-10-25 16:34 UTC (permalink / raw)
  To: Marek Belisko; +Cc: barebox

Hi Marek,

On Mon, Oct 25, 2010 at 02:39:53PM +0200, Marek Belisko wrote:
> 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


-- 
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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] barebox:usb_gadget:Remove compilation error.
  2010-10-25 16:34 ` Sascha Hauer
@ 2010-10-25 17:07   ` Belisko Marek
  2010-10-25 17:50     ` Sascha Hauer
  0 siblings, 1 reply; 4+ messages in thread
From: Belisko Marek @ 2010-10-25 17:07 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

Hi Sascha,

On Mon, Oct 25, 2010 at 6:34 PM, Sascha Hauer <s.hauer@pengutronix.de> wrote:
> Hi Marek,
>
> On Mon, Oct 25, 2010 at 02:39:53PM +0200, Marek Belisko wrote:
>> 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.
>
> 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

-- 
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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] barebox:usb_gadget:Remove compilation error.
  2010-10-25 17:07   ` Belisko Marek
@ 2010-10-25 17:50     ` Sascha Hauer
  0 siblings, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2010-10-25 17:50 UTC (permalink / raw)
  To: Belisko Marek; +Cc: barebox

On Mon, Oct 25, 2010 at 07:07:04PM +0200, Belisko Marek wrote:
> Hi Sascha,
> 
> On Mon, Oct 25, 2010 at 6:34 PM, Sascha Hauer <s.hauer@pengutronix.de> wrote:
> > Hi Marek,
> >
> > On Mon, Oct 25, 2010 at 02:39:53PM +0200, Marek Belisko wrote:
> >> 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

-- 
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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-10-25 17:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-25 12:39 [PATCH] barebox:usb_gadget:Remove compilation error Marek Belisko
2010-10-25 16:34 ` Sascha Hauer
2010-10-25 17:07   ` Belisko Marek
2010-10-25 17:50     ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox