mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
conftest: update tests for ICC functions
Add the existing ICC function tests in the Makefile and remove unncessary check interconnect header file check in the tests. Bug 4963969 Change-Id: I10f57798d444b656d8866613b1ea6db3df76bcd1 Signed-off-by: Johnny Liu <johnliu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3328824 GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
This commit is contained in:
@@ -5326,9 +5326,7 @@ compile_test() {
|
||||
# interconnect API")
|
||||
#
|
||||
CODE="
|
||||
#if defined(NV_LINUX_INTERCONNECT_H_PRESENT)
|
||||
#include <linux/interconnect.h>
|
||||
#endif
|
||||
void conftest_icc_get(void)
|
||||
{
|
||||
icc_get();
|
||||
@@ -5346,9 +5344,7 @@ compile_test() {
|
||||
# exported API for user interconnect API")
|
||||
#
|
||||
CODE="
|
||||
#if defined(NV_LINUX_INTERCONNECT_H_PRESENT)
|
||||
#include <linux/interconnect.h>
|
||||
#endif
|
||||
void conftest_devm_of_icc_get(void)
|
||||
{
|
||||
devm_of_icc_get();
|
||||
@@ -5366,9 +5362,7 @@ compile_test() {
|
||||
# interconnect API")
|
||||
#
|
||||
CODE="
|
||||
#if defined(NV_LINUX_INTERCONNECT_H_PRESENT)
|
||||
#include <linux/interconnect.h>
|
||||
#endif
|
||||
void conftest_icc_set_bw(void)
|
||||
{
|
||||
icc_set_bw();
|
||||
@@ -5386,9 +5380,7 @@ compile_test() {
|
||||
# interconnect API")
|
||||
#
|
||||
CODE="
|
||||
#if defined(NV_LINUX_INTERCONNECT_H_PRESENT)
|
||||
#include <linux/interconnect.h>
|
||||
#endif
|
||||
void conftest_icc_put(void)
|
||||
{
|
||||
icc_put();
|
||||
|
||||
Reference in New Issue
Block a user