mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Alexander Shiyan <shc_work@mail.ru>
To: barebox@lists.infradead.org
Subject: [PATCH] net: CPSW: Fix non-OMAP barebox building with DRIVER_NET_CPSW option
Date: Fri,  8 Feb 2013 20:50:24 +0400	[thread overview]
Message-ID: <1360342224-30331-1-git-send-email-shc_work@mail.ru> (raw)

  CC      drivers/net/cpsw.o
  drivers/net/cpsw.c:34:23: error: mach/cpsw.h: No such file or directory
  drivers/net/cpsw.c:203: error: field 'data' has incomplete type
  drivers/net/cpsw.c: In function 'cpsw_open':
  drivers/net/cpsw.c:773: error: invalid use of undefined type 'struct cpsw_slave_data'
  drivers/net/cpsw.c:773: error: dereferencing pointer to incomplete type
  drivers/net/cpsw.c:774: error: invalid use of undefined type 'struct cpsw_slave_data'
  drivers/net/cpsw.c:774: error: dereferencing pointer to incomplete type
  drivers/net/cpsw.c: In function 'cpsw_probe':
  drivers/net/cpsw.c:967: error: dereferencing pointer to incomplete type
  drivers/net/cpsw.c:969: error: dereferencing pointer to incomplete type
  make[2]: *** [drivers/net/cpsw.o] Error 1
  make[1]: *** [drivers/net] Error 2
  make: *** [drivers] Error 2

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 drivers/net/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index cf6ceee..2b7decd 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -33,6 +33,7 @@ config DRIVER_NET_CS8900
 
 config DRIVER_NET_CPSW
 	bool "CPSW ethernet driver"
+	depends on ARCH_OMAP
 	select PHYLIB
 
 config DRIVER_NET_SMC911X
-- 
1.7.12.4


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

             reply	other threads:[~2013-02-08 16:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-08 16:50 Alexander Shiyan [this message]
2013-02-08 21:05 ` Alexander Aring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1360342224-30331-1-git-send-email-shc_work@mail.ru \
    --to=shc_work@mail.ru \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox