Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1225868 > unrolled thread
| Started by | Javier Martinez Canillas <javier@osg.samsung.com> |
|---|---|
| First post | 2015-09-16 11:20 +0200 |
| Last post | 2015-09-17 11:00 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[RESEND PATCH] mmc: mmc_spi: Export OF module alias information Javier Martinez Canillas <javier@osg.samsung.com> - 2015-09-16 11:20 +0200
Re: [RESEND PATCH] mmc: mmc_spi: Export OF module alias information Ulf Hansson <ulf.hansson@linaro.org> - 2015-09-17 11:00 +0200
| From | Javier Martinez Canillas <javier@osg.samsung.com> |
|---|---|
| Date | 2015-09-16 11:20 +0200 |
| Subject | [RESEND PATCH] mmc: mmc_spi: Export OF module alias information |
| Message-ID | <q9h2G-7W-15@gated-at.bofh.it> |
Drivers needs to export the OF id table and this be built into
the module or udev won't have the necessary information to autoload
the driver module when the device is registered via OF.
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
---
drivers/mmc/host/mmc_spi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mmc/host/mmc_spi.c b/drivers/mmc/host/mmc_spi.c
index ae19d83bb9de..8ee11f4120fc 100644
--- a/drivers/mmc/host/mmc_spi.c
+++ b/drivers/mmc/host/mmc_spi.c
@@ -1511,6 +1511,7 @@ static const struct of_device_id mmc_spi_of_match_table[] = {
{ .compatible = "mmc-spi-slot", },
{},
};
+MODULE_DEVICE_TABLE(of, mmc_spi_of_match_table);
static struct spi_driver mmc_spi_driver = {
.driver = {
--
2.4.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Ulf Hansson <ulf.hansson@linaro.org> |
|---|---|
| Date | 2015-09-17 11:00 +0200 |
| Message-ID | <q9DcS-6QA-5@gated-at.bofh.it> |
| In reply to | #1225868 |
On 16 September 2015 at 11:12, Javier Martinez Canillas
<javier@osg.samsung.com> wrote:
> Drivers needs to export the OF id table and this be built into
> the module or udev won't have the necessary information to autoload
> the driver module when the device is registered via OF.
>
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Thanks, applied for next!
Kind regards
Uffe
>
> ---
>
> drivers/mmc/host/mmc_spi.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mmc/host/mmc_spi.c b/drivers/mmc/host/mmc_spi.c
> index ae19d83bb9de..8ee11f4120fc 100644
> --- a/drivers/mmc/host/mmc_spi.c
> +++ b/drivers/mmc/host/mmc_spi.c
> @@ -1511,6 +1511,7 @@ static const struct of_device_id mmc_spi_of_match_table[] = {
> { .compatible = "mmc-spi-slot", },
> {},
> };
> +MODULE_DEVICE_TABLE(of, mmc_spi_of_match_table);
>
> static struct spi_driver mmc_spi_driver = {
> .driver = {
> --
> 2.4.3
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web