Skip to content

Commit 064223c

Browse files
Colin Ian Kingdavem330
authored andcommitted
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>
1 parent f7c3b12 commit 064223c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/dca/dca-core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ EXPORT_SYMBOL_GPL(dca_remove_requester);
270270
* @dev - the device that wants dca service
271271
* @cpu - the cpuid as returned by get_cpu()
272272
*/
273-
u8 dca_common_get_tag(struct device *dev, int cpu)
273+
static u8 dca_common_get_tag(struct device *dev, int cpu)
274274
{
275275
struct dca_provider *dca;
276276
u8 tag;

0 commit comments

Comments
 (0)