天嵌 ARM开发社区

 找回密码
 注册
查看: 1062|回复: 0

TQ2440 LCD的移植之手册添加代码解析求助

[复制链接]
ly052230 发表于 2013-9-27 16:14:49 | 显示全部楼层 |阅读模式
在手册中写到需要修改drivers/video/s3c2410fb.c中的
static void s3c2410fb_active_var(struct fb_info *info)函数
其中添加了下面两行代码
        struct s3c2410fb_mach_info *mach_info = fbi->dev->platform_data;
        struct s3c2410fb_display *default_display = mach_info->displays +
                                                    mach_info->default_display;
这两行代码,我不知道是用来干什么的,其中右边的赋值不能也不知道在哪里看看,希望有懂的人指教一下。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2025-5-6 09:59 , Processed in 2.041655 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表