EZ-X5 보드의 gpio 디바이스 드라이버를 커널에 포함시키는 과정에서 다음과 같은 에러가 납니다.

drivers/char/char.o(.text+0x1a668): In function 'gpio_open':
: undefined reference to '__this_module'
drivers/char/char.o(.text+0x1a6ac): In function 'gpio_release':
: undefined reference to '__this_module'
make: *** [vmlinux] 오류 1

커널소스/drivers/char 에 기존 EX-X5의 디바이스 드라이버 소스인 gpio.c, gpio.h를 넣고,
../drivers/char/Config.in 에 다음을 추가하였습니다.
          bool 'Support for EZ-X5 gpio' CONFIG_GPIO_EZ_X5

../drivers/char/Makefile 에 다음을 추가하였습니다.
          obj-$(CONFIG_GPIO_EZ_X5) += gpio.o