lkml.org 
[lkml]   [2020]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] iommu/arm-smmu: fix the module name to be consistent with older kernel
On Tue, Feb 11, 2020 at 06:37:20PM -0600, Li Yang wrote:
> Commit cd221bd24ff5 ("iommu/arm-smmu: Allow building as a module")
> introduced a side effect that changed the module name from arm-smmu to
> arm-smmu-mod. This breaks the users of kernel parameters for the driver
> (e.g. arm-smmu.disable_bypass). This patch changes the module name back
> to be consistent.
>
> Signed-off-by: Li Yang <leoyang.li@nxp.com>
> ---
> drivers/iommu/Makefile | 4 ++--
> drivers/iommu/{arm-smmu.c => arm-smmu-common.c} | 0
> 2 files changed, 2 insertions(+), 2 deletions(-)
> rename drivers/iommu/{arm-smmu.c => arm-smmu-common.c} (100%)

Can't we just override MODULE_PARAM_PREFIX instead of renaming the file?

Will

\
 
 \ /
  Last update: 2020-02-12 11:49    [W:0.082 / U:0.696 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site