From: u.kleine-koenig@pengutronix.de (Uwe Kleine-König)
To: linux-arm-kernel@lists.infradead.org
Subject: MACH_TYPE undeclared error
Date: Tue, 29 Mar 2011 08:54:57 +0200 [thread overview]
Message-ID: <20110329065457.GG30938@pengutronix.de> (raw)
In-Reply-To: <AANLkTimSWBx-FTj1WXpOgFXyH6rLSWFNzayLd_yOj7d_@mail.gmail.com>
On Tue, Mar 29, 2011 at 12:01:40PM +0530, Madhavi Manchala wrote:
> Dear All,
>
> I have defined a MACHINE_START macro in my board C file as follows.
>
> MACHINE_START(S3C2510, "S3C2510")
> .init_irq = s3c2510_init_irq,
> .timer = &s3c2510_time_init,
> MACHINE_END
>
> When I try to compile this C file, I am seeing the following error message.
>
> arch/arm/mach-s3c2510/s3c2510.c:35:1: error: 'MACH_TYPE_S3C2510'
> undeclared here (not in a function)
you need a line defining S3C2510 in arch/arm/tools/mach-types.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-K?nig |
Industrial Linux Solutions | http://www.pengutronix.de/ |
next prev parent reply other threads:[~2011-03-29 6:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-29 6:31 MACH_TYPE undeclared error Madhavi Manchala
2011-03-29 6:50 ` Baruch Siach
2011-03-29 6:54 ` Uwe Kleine-König [this message]
2011-03-29 8:31 ` Madhavi Manchala
2011-03-29 9:24 ` Uwe Kleine-König
2011-03-29 9:38 ` Madhavi Manchala
2011-03-29 9:27 ` Russell King - ARM Linux
2011-03-29 9:38 ` Madhavi Manchala
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=20110329065457.GG30938@pengutronix.de \
--to=u.kleine-koenig@pengutronix.de \
--cc=linux-arm-kernel@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;
as well as URLs for NNTP newsgroup(s).