-
Notifications
You must be signed in to change notification settings - Fork 105
can: phytium: Use phytium_can_of_ids only when CONFIG_OF enabled #374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can: phytium: Use phytium_can_of_ids only when CONFIG_OF enabled #374
Conversation
Fix follow errors:
drivers/net/can/phytium/phytium_can_platform.c: In function ‘phytium_can_plat_probe’:
drivers/net/can/phytium/phytium_can_platform.c:113:41: error: ‘phytium_can_of_ids’ undeclared (first use in this function); did you mean ‘phytium_can_acpi_ids’?
113 | of_id = of_match_device(phytium_can_of_ids, &pdev->dev);
| ^~~~~~~~~~~~~~~~~~
| phytium_can_acpi_ids
drivers/net/can/phytium/phytium_can_platform.c:113:41: note: each undeclared identifier is reported only once for each function it appears in
Signed-off-by: WangYuli <wangyuli@uniontech.com>
deepin pr auto review关键摘要:
是否建议立即修改:
|
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Fix follow errors:
drivers/net/can/phytium/phytium_can_platform.c: In function ‘phytium_can_plat_probe’:
drivers/net/can/phytium/phytium_can_platform.c:113:41: error: ‘phytium_can_of_ids’ undeclared (first use in this function); did you mean ‘phytium_can_acpi_ids’?
113 | of_id = of_match_device(phytium_can_of_ids, &pdev->dev);
| ^~~~~~~~~~~~~~~~~~
| phytium_can_acpi_ids
drivers/net/can/phytium/phytium_can_platform.c:113:41: note: each undeclared identifier is reported only once for each function it appears in
Signed-off-by: WangYuli <wangyuli@uniontech.com>
Link: deepin-community#374
(cherry picked from commit 759f31a)
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
Fix follow errors:
drivers/net/can/phytium/phytium_can_platform.c: In function ‘phytium_can_plat_probe’:
drivers/net/can/phytium/phytium_can_platform.c:113:41: error: ‘phytium_can_of_ids’ undeclared (first use in this function); did you mean ‘phytium_can_acpi_ids’?
113 | of_id = of_match_device(phytium_can_of_ids, &pdev->dev);
| ^~~~~~~~~~~~~~~~~~
| phytium_can_acpi_ids
drivers/net/can/phytium/phytium_can_platform.c:113:41: note: each undeclared identifier is reported only once for each function it appears in
Signed-off-by: WangYuli <wangyuli@uniontech.com>
Link: deepin-community#374
(cherry picked from commit 759f31a)
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
Fix follow errors:
drivers/net/can/phytium/phytium_can_platform.c: In function ‘phytium_can_plat_probe’:
drivers/net/can/phytium/phytium_can_platform.c:113:41: error: ‘phytium_can_of_ids’ undeclared (first use in this function); did you mean ‘phytium_can_acpi_ids’?
113 | of_id = of_match_device(phytium_can_of_ids, &pdev->dev);
| ^~~~~~~~~~~~~~~~~~
| phytium_can_acpi_ids
drivers/net/can/phytium/phytium_can_platform.c:113:41: note: each undeclared identifier is reported only once for each function it appears in
Signed-off-by: WangYuli <wangyuli@uniontech.com>
Link: deepin-community#374
(cherry picked from commit 759f31a)
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
Fix follow errors:
drivers/net/can/phytium/phytium_can_platform.c: In function ‘phytium_can_plat_probe’:
drivers/net/can/phytium/phytium_can_platform.c:113:41: error: ‘phytium_can_of_ids’ undeclared (first use in this function); did you mean ‘phytium_can_acpi_ids’?
113 | of_id = of_match_device(phytium_can_of_ids, &pdev->dev);
| ^~~~~~~~~~~~~~~~~~
| phytium_can_acpi_ids
drivers/net/can/phytium/phytium_can_platform.c:113:41: note: each undeclared identifier is reported only once for each function it appears in
Signed-off-by: WangYuli <wangyuli@uniontech.com>
Link: #374
(cherry picked from commit 759f31a)
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
Fix follow errors:
drivers/net/can/phytium/phytium_can_platform.c: In function ‘phytium_can_plat_probe’: drivers/net/can/phytium/phytium_can_platform.c:113:41: error: ‘phytium_can_of_ids’ undeclared (first use in this function); did you mean ‘phytium_can_acpi_ids’?
113 | of_id = of_match_device(phytium_can_of_ids, &pdev->dev);
| ^~~~~~~~~~~~~~~~~~
| phytium_can_acpi_ids
drivers/net/can/phytium/phytium_can_platform.c:113:41: note: each undeclared identifier is reported only once for each function it appears in