diff --git a/code/part13/mytftfb.c b/code/part13/mytftfb.c index 865a60b..273e623 100644 --- a/code/part13/mytftfb.c +++ b/code/part13/mytftfb.c @@ -12,6 +12,8 @@ #include #include #include +#include "linux/mm.h" +#include static struct fb_info *myfb; //定义一个fb_info static struct spi_device *fbspi; //保存spi驱动指针