Skip to content
Commit 871fcd7c authored by Ben Dooks's avatar Ben Dooks
Browse files

[ARM] S3C24XX: Fix unused code warning in arch/arm/plat-s3c24xx/dma.c



Fix unused code warning in arch/arm/plat-s3c24xx/dma.c if there
is no PM support enabled. The function to_dma_chan() should
be marked inline so that the compiler will eliminate it without
warning if it isn't used.

arch/arm/plat-s3c24xx/dma.c:1239: warning: 'to_dma_chan' defined but not used

Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent beb9f4ed
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment