mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-17 21:11:34 +03:00
4c11bf2c50
The patches added here are required to build under some conditions, but not all are ended up needed as CONFIG_DEBUG_FS is required to be active otherwise the kernel doesn't even boot :/ The kernel size was reduced by: * Removing tracing support * Removing unneeded exfat and sdcardfs filesystems * Removing all sound support * Removing video input (camera) support The latter options seem awfully shortsighted, until you remember that a goal is to eventually deal with booting our own kernels through kexec. The Moto Z Play device's boot partition size is putting us in a hard spot.
26 lines
803 B
Diff
26 lines
803 B
Diff
From 0e30349bb61116ddf9da4bcbbd8fa2ae081640aa Mon Sep 17 00:00:00 2001
|
|
From: Samuel Dionne-Riel <samuel@dionne-riel.com>
|
|
Date: Wed, 4 Dec 2019 14:42:51 -0500
|
|
Subject: [PATCH 6/6] Allow building without CONFIG_DEBUG_FS
|
|
|
|
---
|
|
drivers/scsi/ufs/ufshcd.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/drivers/scsi/ufs/ufshcd.h b/drivers/scsi/ufs/ufshcd.h
|
|
index 465012a0362d..194a3b8675bb 100644
|
|
--- a/drivers/scsi/ufs/ufshcd.h
|
|
+++ b/drivers/scsi/ufs/ufshcd.h
|
|
@@ -1227,7 +1227,7 @@ static inline void ufshcd_vops_remove_debugfs(struct ufs_hba *hba)
|
|
hba->var->vops->remove_debugfs(hba);
|
|
}
|
|
#else
|
|
-static inline void ufshcd_vops_add_debugfs(struct ufs_hba *hba, struct dentry *)
|
|
+static inline void ufshcd_vops_add_debugfs(struct ufs_hba *hba, struct dentry *root)
|
|
{
|
|
}
|
|
|
|
--
|
|
2.23.0
|
|
|