]> git.baikalelectronics.ru Git - kernel.git/commit
s3cmci: fix sparse errors from non-exported functions
authorBen Dooks <ben-linux@fluff.org>
Fri, 8 Aug 2008 09:55:41 +0000 (10:55 +0100)
committerPierre Ossman <drzeus@drzeus.cx>
Sun, 17 Aug 2008 17:59:27 +0000 (19:59 +0200)
commit0552a042ca24980cf002cee3ea4bbcf11789f9bc
tree70276a4b8f7beef2983660b1266fc76eb109d300
parent7eb0b721a4d5f23dba81083d442b966d8525f25d
s3cmci: fix sparse errors from non-exported functions

Fix the following sparse errors by making the functions
static and fixing the check for host->base.

598:6: warning: symbol 's3cmci_dma_done_callback' was not declared. Should it be static?
744:6: warning: symbol 's3cmci_dma_setup' was not declared. Should it be static?
1209:20: warning: Using plain integer as NULL pointer

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/s3cmci.c