Thread (8 messages) 8 messages, 4 authors, 2011-03-29

MACH_TYPE undeclared error

From: Uwe Kleine-König <hidden>
Date: 2011-03-29 06:54:57
Also in: linux-arch

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/  |
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help