Commit b3627bb1 authored by Gabriel C's avatar Gabriel C Committed by Pierre Ossman

wbsd: fix section mismatch warnings

This patch fixes the following section mismatch warnings

...

WARNING: vmlinux.o(.init.text+0x29d40): Section mismatch: reference to .exit.text:wbsd_release_resources (between 'wbsd_init' and 'wbsd_probe')
WARNING: vmlinux.o(.init.text+0x29d49): Section mismatch: reference to .exit.text:wbsd_free_mmc (between 'wbsd_init' and 'wbsd_probe')
WARNING: vmlinux.o(.init.text+0x29f28): Section mismatch: reference to .exit.text:wbsd_free_mmc (between 'wbsd_init' and 'wbsd_probe')

...
Signed-off-by: default avatarGabriel Craciunescu <nix.or.die@googlemail.com>
Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
parent 4a2a4df7
...@@ -1266,7 +1266,7 @@ static int __devinit wbsd_alloc_mmc(struct device *dev) ...@@ -1266,7 +1266,7 @@ static int __devinit wbsd_alloc_mmc(struct device *dev)
return 0; return 0;
} }
static void __devexit wbsd_free_mmc(struct device *dev) static void wbsd_free_mmc(struct device *dev)
{ {
struct mmc_host *mmc; struct mmc_host *mmc;
struct wbsd_host *host; struct wbsd_host *host;
...@@ -1358,7 +1358,7 @@ static int __devinit wbsd_request_region(struct wbsd_host *host, int base) ...@@ -1358,7 +1358,7 @@ static int __devinit wbsd_request_region(struct wbsd_host *host, int base)
return 0; return 0;
} }
static void __devexit wbsd_release_regions(struct wbsd_host *host) static void wbsd_release_regions(struct wbsd_host *host)
{ {
if (host->base) if (host->base)
release_region(host->base, 8); release_region(host->base, 8);
...@@ -1434,7 +1434,7 @@ static void __devinit wbsd_request_dma(struct wbsd_host *host, int dma) ...@@ -1434,7 +1434,7 @@ static void __devinit wbsd_request_dma(struct wbsd_host *host, int dma)
"Falling back on FIFO.\n", dma); "Falling back on FIFO.\n", dma);
} }
static void __devexit wbsd_release_dma(struct wbsd_host *host) static void wbsd_release_dma(struct wbsd_host *host)
{ {
if (host->dma_addr) { if (host->dma_addr) {
dma_unmap_single(mmc_dev(host->mmc), host->dma_addr, dma_unmap_single(mmc_dev(host->mmc), host->dma_addr,
...@@ -1484,7 +1484,7 @@ static int __devinit wbsd_request_irq(struct wbsd_host *host, int irq) ...@@ -1484,7 +1484,7 @@ static int __devinit wbsd_request_irq(struct wbsd_host *host, int irq)
return 0; return 0;
} }
static void __devexit wbsd_release_irq(struct wbsd_host *host) static void wbsd_release_irq(struct wbsd_host *host)
{ {
if (!host->irq) if (!host->irq)
return; return;
...@@ -1535,7 +1535,7 @@ static int __devinit wbsd_request_resources(struct wbsd_host *host, ...@@ -1535,7 +1535,7 @@ static int __devinit wbsd_request_resources(struct wbsd_host *host,
* Release all resources for the host. * Release all resources for the host.
*/ */
static void __devexit wbsd_release_resources(struct wbsd_host *host) static void wbsd_release_resources(struct wbsd_host *host)
{ {
wbsd_release_dma(host); wbsd_release_dma(host);
wbsd_release_irq(host); wbsd_release_irq(host);
......
Markdown is supported
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