Firefly开源社区

打印 上一主题 下一主题

firefly-rk3288 SPI OLED 小屏驱动

18

积分

0

威望

0

贡献

技术小白

积分
18
发表于 2016-3-23 09:24:31      楼主
@zhansb 与 @ madman : 请问你们这个驱动 哪个Driver 路径?  Makefile 与 Kconfig 能告知吗?
回复

使用道具 举报

18

积分

0

威望

0

贡献

技术小白

积分
18
发表于 2016-3-23 09:25:28      沙发
我们想试试这个.
回复

使用道具 举报

18

积分

0

威望

0

贡献

技术小白

积分
18
发表于 2016-3-23 10:20:02      板凳
@zhansb 与 @ madman : 请问你们这个驱动放在 哪个Driver 路径下?  Makefile 与 Kconfig 能分享下吗?
回复

使用道具 举报

18

积分

0

威望

0

贡献

技术小白

积分
18
发表于 2016-3-23 10:24:14      地板
@ madman ,  好的;  我们先试试,有问题在请教. 感谢!
回复

使用道具 举报

18

积分

0

威望

0

贡献

技术小白

积分
18
发表于 2016-3-23 17:06:34      5#
@ madman  & @zhansb:  这个我这边老有这个错误.   请帮忙看看,谢谢!

CC      drivers/spi/spi-rockchip-oled.o
drivers/spi/spi-rockchip-oled.c: In function 'myspidev_write':
drivers/spi/spi-rockchip-oled.c:280:10: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
drivers/spi/spi-rockchip-oled.c:288:10: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
drivers/spi/spi-rockchip-oled.c: In function 'OLED_Init':
drivers/spi/spi-rockchip-oled.c:400:2: warning: 'return' with a value, in function returning void [enabled by default]
drivers/spi/spi-rockchip-oled.c: In function 'gpio_init':
drivers/spi/spi-rockchip-oled.c:522:2: warning: passing argument 4 of 'of_get_named_gpio_flags' from incompatible pointer type [enabled by default]
include/linux/of_gpio.h:50:12: note: expected 'enum of_gpio_flags *' but argument is of type 'int *'
drivers/spi/spi-rockchip-oled.c:534:2: warning: passing argument 4 of 'of_get_named_gpio_flags' from incompatible pointer type [enabled by default]
include/linux/of_gpio.h:50:12: note: expected 'enum of_gpio_flags *' but argument is of type 'int *'
  GEN     drivers/video/rockchip/screen/lcd.h
  LD      drivers/spi/built-in.o
  LD      drivers/built-in.o
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表