linux-next: build warnings after merge of the slave-dma tree

From: Stephen Rothwell
Date: Thu Nov 29 2012 - 01:14:40 EST


Hi Vinod,

After merging the slave-dma tree, today's linux-next build (x86_64
allmodconfig) produced these warning:

drivers/dma/dmaengine.c: At top level:
include/linux/of_dma.h:47:12: warning: 'of_dma_controller_register' defined but not used [-Wunused-function]
include/linux/of_dma.h:55:12: warning: 'of_dma_controller_free' defined but not used [-Wunused-function]
include/linux/of_dma.h:65:25: warning: 'of_dma_simple_xlate' defined but not used [-Wunused-function]

These dummy functions need an inline keyword.

Introduced by commit 7a74a3a0e055 ("of: dma- fix build break for
!CONFIG_OF").

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature