Commit 6106ecf3 authored by Simon Horman's avatar Simon Horman Committed by Ulf Hansson

mmc: tmio: use EXPORT_SYMBOL_GPL

Use EXPORT_SYMBOL_GPL rather than the non _GPL variant as there seems to be
no reason not to.
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
Reviewed-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent c57adc50
...@@ -91,14 +91,14 @@ void tmio_mmc_enable_mmc_irqs(struct tmio_mmc_host *host, u32 i) ...@@ -91,14 +91,14 @@ void tmio_mmc_enable_mmc_irqs(struct tmio_mmc_host *host, u32 i)
host->sdcard_irq_mask &= ~(i & TMIO_MASK_IRQ); host->sdcard_irq_mask &= ~(i & TMIO_MASK_IRQ);
sd_ctrl_write32_as_16_and_16(host, CTL_IRQ_MASK, host->sdcard_irq_mask); sd_ctrl_write32_as_16_and_16(host, CTL_IRQ_MASK, host->sdcard_irq_mask);
} }
EXPORT_SYMBOL(tmio_mmc_enable_mmc_irqs); EXPORT_SYMBOL_GPL(tmio_mmc_enable_mmc_irqs);
void tmio_mmc_disable_mmc_irqs(struct tmio_mmc_host *host, u32 i) void tmio_mmc_disable_mmc_irqs(struct tmio_mmc_host *host, u32 i)
{ {
host->sdcard_irq_mask |= (i & TMIO_MASK_IRQ); host->sdcard_irq_mask |= (i & TMIO_MASK_IRQ);
sd_ctrl_write32_as_16_and_16(host, CTL_IRQ_MASK, host->sdcard_irq_mask); sd_ctrl_write32_as_16_and_16(host, CTL_IRQ_MASK, host->sdcard_irq_mask);
} }
EXPORT_SYMBOL(tmio_mmc_disable_mmc_irqs); EXPORT_SYMBOL_GPL(tmio_mmc_disable_mmc_irqs);
static void tmio_mmc_ack_mmc_irqs(struct tmio_mmc_host *host, u32 i) static void tmio_mmc_ack_mmc_irqs(struct tmio_mmc_host *host, u32 i)
{ {
...@@ -568,7 +568,7 @@ void tmio_mmc_do_data_irq(struct tmio_mmc_host *host) ...@@ -568,7 +568,7 @@ void tmio_mmc_do_data_irq(struct tmio_mmc_host *host)
schedule_work(&host->done); schedule_work(&host->done);
} }
EXPORT_SYMBOL(tmio_mmc_do_data_irq); EXPORT_SYMBOL_GPL(tmio_mmc_do_data_irq);
static void tmio_mmc_data_irq(struct tmio_mmc_host *host, unsigned int stat) static void tmio_mmc_data_irq(struct tmio_mmc_host *host, unsigned int stat)
{ {
...@@ -772,7 +772,7 @@ irqreturn_t tmio_mmc_irq(int irq, void *devid) ...@@ -772,7 +772,7 @@ irqreturn_t tmio_mmc_irq(int irq, void *devid)
return IRQ_HANDLED; return IRQ_HANDLED;
} }
EXPORT_SYMBOL(tmio_mmc_irq); EXPORT_SYMBOL_GPL(tmio_mmc_irq);
static int tmio_mmc_start_data(struct tmio_mmc_host *host, static int tmio_mmc_start_data(struct tmio_mmc_host *host,
struct mmc_data *data) struct mmc_data *data)
...@@ -1195,13 +1195,13 @@ tmio_mmc_host_alloc(struct platform_device *pdev) ...@@ -1195,13 +1195,13 @@ tmio_mmc_host_alloc(struct platform_device *pdev)
return host; return host;
} }
EXPORT_SYMBOL(tmio_mmc_host_alloc); EXPORT_SYMBOL_GPL(tmio_mmc_host_alloc);
void tmio_mmc_host_free(struct tmio_mmc_host *host) void tmio_mmc_host_free(struct tmio_mmc_host *host)
{ {
mmc_free_host(host->mmc); mmc_free_host(host->mmc);
} }
EXPORT_SYMBOL(tmio_mmc_host_free); EXPORT_SYMBOL_GPL(tmio_mmc_host_free);
int tmio_mmc_host_probe(struct tmio_mmc_host *_host, int tmio_mmc_host_probe(struct tmio_mmc_host *_host,
struct tmio_mmc_data *pdata, struct tmio_mmc_data *pdata,
...@@ -1341,7 +1341,7 @@ int tmio_mmc_host_probe(struct tmio_mmc_host *_host, ...@@ -1341,7 +1341,7 @@ int tmio_mmc_host_probe(struct tmio_mmc_host *_host,
return 0; return 0;
} }
EXPORT_SYMBOL(tmio_mmc_host_probe); EXPORT_SYMBOL_GPL(tmio_mmc_host_probe);
void tmio_mmc_host_remove(struct tmio_mmc_host *host) void tmio_mmc_host_remove(struct tmio_mmc_host *host)
{ {
...@@ -1366,7 +1366,7 @@ void tmio_mmc_host_remove(struct tmio_mmc_host *host) ...@@ -1366,7 +1366,7 @@ void tmio_mmc_host_remove(struct tmio_mmc_host *host)
tmio_mmc_clk_disable(host); tmio_mmc_clk_disable(host);
} }
EXPORT_SYMBOL(tmio_mmc_host_remove); EXPORT_SYMBOL_GPL(tmio_mmc_host_remove);
#ifdef CONFIG_PM #ifdef CONFIG_PM
int tmio_mmc_host_runtime_suspend(struct device *dev) int tmio_mmc_host_runtime_suspend(struct device *dev)
...@@ -1383,7 +1383,7 @@ int tmio_mmc_host_runtime_suspend(struct device *dev) ...@@ -1383,7 +1383,7 @@ int tmio_mmc_host_runtime_suspend(struct device *dev)
return 0; return 0;
} }
EXPORT_SYMBOL(tmio_mmc_host_runtime_suspend); EXPORT_SYMBOL_GPL(tmio_mmc_host_runtime_suspend);
static bool tmio_mmc_can_retune(struct tmio_mmc_host *host) static bool tmio_mmc_can_retune(struct tmio_mmc_host *host)
{ {
...@@ -1408,7 +1408,7 @@ int tmio_mmc_host_runtime_resume(struct device *dev) ...@@ -1408,7 +1408,7 @@ int tmio_mmc_host_runtime_resume(struct device *dev)
return 0; return 0;
} }
EXPORT_SYMBOL(tmio_mmc_host_runtime_resume); EXPORT_SYMBOL_GPL(tmio_mmc_host_runtime_resume);
#endif #endif
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
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