Skip to content

Commit 507a369

Browse files
Markos Chandrasralfbaechle
authored andcommitted
MIPS: Lasat: Add missing CONFIG_PROC_FS dependency to PICVUE_PROC
The picvue_proc.c file creates the /proc interface for the PICVUE LCD display driver. As a result of which, it needs to depend on the PROC_FS symbol to avoid build problems like the following one when CONFIG_PROC_FS is not enabled. arch/mips/lasat/picvue_proc.c:26:14: error: 'pvc_linename' defined but not used [-Werror=unused-variable] static char *pvc_linename[PVC_NLINES] = {"line1", "line2"}; ^ Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/8174/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent a5466d7 commit 507a369

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/mips/lasat/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ config PICVUE
44

55
config PICVUE_PROC
66
tristate "PICVUE LCD display driver /proc interface"
7-
depends on PICVUE
7+
depends on PICVUE && PROC_FS
88

99
config DS1603
1010
bool "DS1603 RTC driver"

0 commit comments

Comments
 (0)