Skip to content

Commit 1a68b35

Browse files
committed
QCLINUX: drm/msm: Fix MODULE_PARM_DESC compilation build error
This changes fixes 'commit 2cea4c7 ("drm/msm: Auto-detect separate GPU KMS mode based on HW topology (#401)")'. The MODULE_PARM_DESC for separate_gpu_kms was split across lines, causing a build failure due to a newline in the string literal. Fix this by formatting the description on a single line. Fixes: 2cea4c7 ("drm/msm: Auto-detect separate GPU KMS mode based on HW topology") Signed-off-by: Nabige Aala <naala@qti.qualcomm.com>
1 parent 2cea4c7 commit 1a68b35

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drivers/gpu/drm/msm/msm_drv.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ MODULE_PARM_DESC(modeset, "Use kernel modesetting [KMS] (1=on (default), 0=disab
5555
module_param(modeset, bool, 0600);
5656

5757
static int separate_gpu_kms = -1;
58-
MODULE_PARM_DESC(separate_gpu_kms,
59-
"Use separate DRM device for the GPU (-1=auto (default), 0=single DRM
60-
device, 1=separate DRM devices)");
58+
MODULE_PARM_DESC(separate_gpu_kms, "Use separate DRM device for the GPU (-1=auto (default), 0=single DRM device, 1=separate DRM devices)");
6159
module_param(separate_gpu_kms, int, 0400);
6260

6361
DECLARE_FAULT_ATTR(fail_gem_alloc);

0 commit comments

Comments
 (0)