补充一下报的错误:
arch/arm/mach-s3c2440/mach-smdk2440.c:302: error: parameter 1 ('cmd') has incomplete type
arch/arm/mach-s3c2440/mach-smdk2440.c:322: error: expected ',' or ';' before 'static'
arch/arm/mach-s3c2440/mach-smdk2440.c: In function 'smdk2440_machine_init':
arch/arm/mach-s3c2440/mach-smdk2440.c:346: error: 'smdk2440_devices' undeclared (first use in this function)
arch/arm/mach-s3c2440/mach-smdk2440.c:346: error: (Each undeclared identifier is reported only once
rch/arm/mach-s3c2440/mach-smdk2440.c:346: error: for each function it appears in.)
arch/arm/mach-s3c2440/mach-smdk2440.c:346: warning: type defaults to 'int' in declaration of 'type name'
arch/arm/mach-s3c2440/mach-smdk2440.c:346: warning: type defaults to 'int' in declaration of 'type name'
arch/arm/mach-s3c2440/mach-smdk2440.c:346: error: size of array 'type name' is negative
arch/arm/mach-s3c2440/mach-smdk2440.c:349: error: 'S3C2410_GPGIO_OUTPUT' undeclared (first use in this function)
make[1]: *** [arch/arm/mach-s3c2440/mach-smdk2440.o] 错误 1
make: *** [arch/arm/mach-s3c2440] 错误 2