Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dca: make function dca_common_get_tag static

Function dca_common_get_tag is local to the source and does not need to be
in global scope, so make it static.

Cleans up sparse warning:
drivers/dca/dca-core.c:273:4: warning: symbol 'dca_common_get_tag' was
not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Colin Ian King and committed by
David S. Miller
064223c1 f7c3b12c

+1 -1
+1 -1
drivers/dca/dca-core.c
··· 270 270 * @dev - the device that wants dca service 271 271 * @cpu - the cpuid as returned by get_cpu() 272 272 */ 273 - u8 dca_common_get_tag(struct device *dev, int cpu) 273 + static u8 dca_common_get_tag(struct device *dev, int cpu) 274 274 { 275 275 struct dca_provider *dca; 276 276 u8 tag;