[root@vm-dev led]# make
make -C /opt/EmbedSky/linux-2.6.30.4/ M=/lifuxing/led modules
make[1]: Entering directory `/opt/EmbedSky/linux-2.6.30.4'
CC [M] /lifuxing/led/EmbedSky_gpio.o
/led/EmbedSky_gpio.c:11:28: error: mach/regs-gpio.h: No such file or directory
/led/EmbedSky_gpio.c:42: error: 'S3C2410_GPB5' undeclared here (not in a function)
/led/EmbedSky_gpio.c:43: error: 'S3C2410_GPB6' undeclared here (not in a function)
/led/EmbedSky_gpio.c:44: error: 'S3C2410_GPB7' undeclared here (not in a function)
/led/EmbedSky_gpio.c:45: error: 'S3C2410_GPB8' undeclared here (not in a function)
/led/EmbedSky_gpio.c:51: error: 'S3C2410_GPB5_OUTP' undeclared here (not in a function)
/led/EmbedSky_gpio.c:51: error: initializer element is not constant
/led/EmbedSky_gpio.c:51: error: (near initialization for 'gpio_cfg_table[0]')
/led/EmbedSky_gpio.c:52: error: 'S3C2410_GPB6_OUTP' undeclared here (not in a function)
/led/EmbedSky_gpio.c:52: error: initializer element is not constant
/led/EmbedSky_gpio.c:52: error: (near initialization for 'gpio_cfg_table[1]')
/led/EmbedSky_gpio.c:53: error: 'S3C2410_GPB7_OUTP' undeclared here (not in a function)
/led/EmbedSky_gpio.c:53: error: initializer element is not constant
/led/EmbedSky_gpio.c:53: error: (near initialization for 'gpio_cfg_table[2]')
/led/EmbedSky_gpio.c:54: error: 'S3C2410_GPB8_OUTP' undeclared here (not in a function)
/led/EmbedSky_gpio.c:54: error: initializer element is not constant
/led/EmbedSky_gpio.c:54: error: (near initialization for 'gpio_cfg_table[3]')
/led/EmbedSky_gpio.c: In function 'tq2440_gpio_ioctl':
/led/EmbedSky_gpio.c:72: error: implicit declaration of function 's3c2410_gpio_setpin'
/led/EmbedSky_gpio.c: In function 'dev_init':
/led/EmbedSky_gpio.c:104: error: implicit declaration of function 's3c2410_gpio_cfgpin'
make[2]: *** [/led/EmbedSky_gpio.o] 错误 1
make[1]: *** [_module_/led] 错误 2
make[1]: Leaving directory `/opt/EmbedSky/linux-2.6.30.4'
make: *** [default] 错误 2
[root@vm-dev led]#