diff --git a/configs/sama5d4-ek/src/sam_bringup.c b/configs/sama5d4-ek/src/sam_bringup.c index ef01f6c8045..547ee4b5b6e 100644 --- a/configs/sama5d4-ek/src/sam_bringup.c +++ b/configs/sama5d4-ek/src/sam_bringup.c @@ -91,7 +91,8 @@ int sam_bringup(void) { #if defined(HAVE_NAND) || defined(HAVE_AT25) || defined(HAVE_HSMCI) || \ defined(HAVE_USBHOST) || defined(HAVE_USBMONITOR) || defined(HAVE_WM8904) || \ - defined(HAVE_AUTOMOUNTER) || defined(HAVE_ELF) || defined(HAVE_ROMFS) + defined(HAVE_AUTOMOUNTER) || defined(HAVE_ELF) || defined(HAVE_ROMFS) || \ + defined(CONFIG_FS_PROCFS) int ret; #endif @@ -263,8 +264,6 @@ int sam_bringup(void) #endif #ifdef CONFIG_FS_PROCFS - int ret; - /* Mount the procfs file system */ ret = mount(NULL, SAMA5_PROCFS_MOUNTPOINT, "procfs", 0, NULL);