diff --git a/os/linux/driver.c b/os/linux/driver.c index b90018e..bf7b6af 100644 --- a/os/linux/driver.c +++ b/os/linux/driver.c @@ -66,7 +66,7 @@ static bool tegra_hwpm_read_support_soc_tools_prop(struct platform_device *pdev) return allow_node; } -int tegra_hwpm_init_chip_info(struct tegra_hwpm_os_linux *hwpm_linux) +static int tegra_hwpm_init_chip_info(struct tegra_hwpm_os_linux *hwpm_linux) { hwpm_linux->device_info.chip = tegra_get_chip_id(); hwpm_linux->device_info.chip_revision = tegra_get_major_rev(); diff --git a/os/linux/io_utils.h b/os/linux/io_utils.h index 9ae59ad..f6d369e 100644 --- a/os/linux/io_utils.h +++ b/os/linux/io_utils.h @@ -31,4 +31,4 @@ int tegra_hwpm_regops_writel_impl(struct tegra_soc_hwpm *hwpm, struct hwpm_ip_inst *ip_inst, struct hwpm_ip_aperture *aperture, u64 addr, u32 val); -#endif /* TEGRA_HWPM_OS_LINUX_IO_UTILS_H */ \ No newline at end of file +#endif /* TEGRA_HWPM_OS_LINUX_IO_UTILS_H */ diff --git a/os/linux/regops_utils.h b/os/linux/regops_utils.h index afeb658..8383933 100644 --- a/os/linux/regops_utils.h +++ b/os/linux/regops_utils.h @@ -20,4 +20,4 @@ struct tegra_soc_hwpm_exec_reg_ops; int tegra_hwpm_exec_regops(struct tegra_soc_hwpm *hwpm, struct tegra_soc_hwpm_exec_reg_ops *exec_reg_ops); -#endif /* TEGRA_HWPM_OS_LINUX_REGOPS_UTILS_H */ \ No newline at end of file +#endif /* TEGRA_HWPM_OS_LINUX_REGOPS_UTILS_H */