主题中讨论的其他器件:LP5521
工具/软件:Linux
大家好、
客户正在使用我们的 LP5521进行开发。
他们要求提供特定于 Linux 3.3的驱动程序。
我们提供的版本适用于 Linux 3.9、它将在 Linux 3.3下显示编译错误、如下所示。
请提供帮助,谢谢。
Andrew
Nemo@nemo-VirtualBox:~/repoRoot/05/driver/lp5521 make
使 arch=arm -C /usr/src/arm-linux-3.3/linux-3.3-fa M=/home/nemo/repoRoot/05/driver/lp5521
make[1]:输入目录'/usr/src/arm-linux-3.3/linux-3.3-fa
抄送[M] /home/nemo/repoRoot/05/driver/lp5521/leds-lp55xx-common.o
/home/nemo/repoRoot/05/driver/lp5521/leds-lp55xx-common.c:在函数‘lp55xx_set_brightness’中:
/home/nemo/repoRoot/05/driver/lp5521/leds-lp55xx-common.c:139:‘S:“结构 lp55xx_led”没有名为‘brightnation_work’的成员
/home/nemo/repoRoot/05/driver/lp5521/leds-lp55xx-common.c:在函数‘lp55xx_init_device’中:
‘S:375:‘s:“结构 lp55xx_platform_data”没有名为“etup_resources”的成员/home/nemo/repoRoot/05/driver/lp5521/leds-lp55xx-common.c
/home/nemo/repoRoot/05/driver/lp5521/leds-lp55xx-common.c:376:‘s:‘S:“结构 lp55xx_platform_data”没有名为“etup_resources”的成员
/home/nemo/repoRoot/05/driver/lp5521/leds-lp55xx-common.c:383:‘S:“结构 lp55xx_platform_data”没有名为‘enable’的成员
/home/nemo/repoRoot/05/driver/lp5521/leds-lp55xx-common.c:384:‘S:“结构 lp55xx_platform_data”没有名为‘enable’的成员
/home/nemo/repoRoot/05/driver/lp5521/leds-lp55xx-common.c:386:‘S:“结构 lp55xx_platform_data”没有名为‘enable’的成员
/home/nemo/repoRoot/05/driver/lp5521/leds-lp55xx-common.c:在函数‘lp55xx_deinit_device’中:
/home/nemo/repoRoot/05/driver/lp5521/leds-lp55xx-common.c:424:‘S:“结构 lp55xx_platform_data”没有名为‘enable’的成员
/home/nemo/repoRoot/05/driver/lp5521/leds-lp55xx-common.c:425:‘S:“结构 lp55xx_platform_data”没有名为‘enable’的成员
/home/nemo/repoRoot/05/driver/lp5521/leds-lp55xx-common.c:427:‘re:‘S:“结构 lp55xx_platform_data”没有名为 lear_resources’的成员
/home/nemo/repoRoot/05/driver/lp5521/leds-lp55xx-common.c:428:error:‘St lp55xx_platform_data’has no member named‘relear_resources’
/home/nemo/repoRoot/05/driver/lp5521/leds-lp55xx-common.c:在函数‘lp55xx_register_LEDs’中:
/home/nemo/repoRoot/05/driver/lp5521/leds-lp55xx-common.c:442:‘:‘S:“结构 lp55xx_device_config”没有名为 brightn_work _fn’的成员
/home/nemo/repoRoot/05/driver/lp5521/leds-lp55xx-common.c:459:‘:‘S:“结构 lp55xx_led”没有名为 brightnation_work’的成员
/home/nemo/repoRoot/05/driver/lp5521/leds-lp55xx-common.c:459:‘:‘S:“结构 lp55xx_led”没有名为 brightnation_work’的成员
/home/nemo/repoRoot/05/driver/lp5521/leds-lp55xx-common.c:459:‘:‘S:“结构 lp55xx_led”没有名为 brightnation_work’的成员
/home/nemo/repoRoot/05/driver/lp5521/leds-lp55xx-common.c:459:‘:‘S:“结构 lp55xx_led”没有名为 brightnation_work’的成员
/home/nemo/repoRoot/05/driver/lp5521/leds-lp55xx-common.c:459:‘S:“‘lp55xx_device_config”没有名为 brightn_work _fn’的成员
/home/nemo/repoRoot/05/driver/lp5521/leds-lp55xx-common.c:在函数‘lp55xx_unregister_LEDs’中:
/home/nemo/repoRoot/05/driver/lp5521/leds-lp55xx-common.c:485:‘S:“结构 lp55xx_led”没有名为‘brightnation_work’的成员
Scripts/Makefile.build:305:目标'/home/nemo/repoRoot/05/driver/lp5521/leds-lp55xx-common.o 的配方失败
maked[2]:***[/home/nemo/repoRoot/05/driver/lp5521/leds-lp55xx-common.o 错误1.
Makefile:1365:目标'_MODULE_/home/nemo/repoRoot/05/driver/lp5521的配方失败
maked[1]:***[_MODULE_/home/nemo/repoRoot/05/driver/lp5521错误2.
make[1]:离开目录'/usr/src/arm-linux-3.3/linux-3.3-fa
Makefile:16:目标'all'的配方失败
Make:***[All]错误2.