mini2440按键驱动,static const struct file_operations button_s3c2440={ .owner =THIS_MODULE, .open =lg_button_open, .read =lg_button_read, .poll =lg_button_poll, .release =lg_button_close; } static __init int init_button_lg() { int ret; if(ret=register_chrdev(0,DEVICE_NAME,≶_button)