lkml.org 
[lkml]   [2020]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v4 14/14] dmaengine: tegra-apb: Remove MODULE_ALIAS
    Date
    Tegra APB DMA driver is an Open Firmware driver and thus it uses OF alias
    naming scheme which overrides MODULE_ALIAS, meaning that MODULE_ALIAS does
    nothing and could be removed safely.

    Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
    ---
    drivers/dma/tegra20-apb-dma.c | 1 -
    1 file changed, 1 deletion(-)

    diff --git a/drivers/dma/tegra20-apb-dma.c b/drivers/dma/tegra20-apb-dma.c
    index fbbb6a60901e..0a45dd77618c 100644
    --- a/drivers/dma/tegra20-apb-dma.c
    +++ b/drivers/dma/tegra20-apb-dma.c
    @@ -1688,7 +1688,6 @@ static struct platform_driver tegra_dmac_driver = {

    module_platform_driver(tegra_dmac_driver);

    -MODULE_ALIAS("platform:tegra20-apbdma");
    MODULE_DESCRIPTION("NVIDIA Tegra APB DMA Controller driver");
    MODULE_AUTHOR("Laxman Dewangan <ldewangan@nvidia.com>");
    MODULE_LICENSE("GPL v2");
    --
    2.24.0
    \
     
     \ /
      Last update: 2020-01-12 18:32    [W:4.096 / U:0.040 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site