mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 01:31:30 +03:00
The Tegra124 SPI slave driver declares a prototype for the function tegra_spi_slave_register_callback() that does not exist. The correct function name is tegra124_spi_slave_register_callback() and so fix the prototype accordingly. Move the prototype to an actual header because this is the correct place for defining prototypes for other drivers to reference. This was caught by enabling the compiler flag -Wmissing-prototype. Bug 4404965 Change-Id: I765723d0a5ed6369784e5f6c480a6f03500659f3 Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3027487 Reviewed-by: Brad Griffis <bgriffis@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>