上面这样可以,改成下面就会出现WARNING: “get_led_resouce” [/home/book/03_led_drv_template_seperate/chip_demo_gpio.ko] undefined!
WARNING: “get_board_led_opr” [/home/book/03_led_drv_template_seperate/100ask_led.ko] undefined!
chip_demo_gpio.c 里要包含 led_opr.h
上面这样可以,改成下面就会出现WARNING: “get_led_resouce” [/home/book/03_led_drv_template_seperate/chip_demo_gpio.ko] undefined!
WARNING: “get_board_led_opr” [/home/book/03_led_drv_template_seperate/100ask_led.ko] undefined!
chip_demo_gpio.c 里要包含 led_opr.h