Re: [RFC 4/5] drivers: boot_constraint: Add debugfs support
On 28-06-17, 08:46, Randy Dunlap wrote: > On 06/28/2017 03:26 AM, Viresh Kumar wrote: > > This patch adds debugfs support for boot constraints. This is how it > > looks for a "vmmc-supply" constraint for the MMC device. > > > > Hi, > Does this build OK when DEBUG_FS is not enabled in kernel .config? TBH, I haven't tried this earlier as I believed dummy implementation of all the debugfs helpers is available. It needs the following debugfs patch (that I sent just now), which adds the dummy implementation of debugfs_create_ulong(). https://marc.info/?l=linux-kernel=149870936319587 -- viresh
Re: [RFC 4/5] drivers: boot_constraint: Add debugfs support
On 28-06-17, 08:46, Randy Dunlap wrote: > On 06/28/2017 03:26 AM, Viresh Kumar wrote: > > This patch adds debugfs support for boot constraints. This is how it > > looks for a "vmmc-supply" constraint for the MMC device. > > > > Hi, > Does this build OK when DEBUG_FS is not enabled in kernel .config? TBH, I haven't tried this earlier as I believed dummy implementation of all the debugfs helpers is available. It needs the following debugfs patch (that I sent just now), which adds the dummy implementation of debugfs_create_ulong(). https://marc.info/?l=linux-kernel=149870936319587 -- viresh
Re: [RFC 4/5] drivers: boot_constraint: Add debugfs support
On 06/28/2017 03:26 AM, Viresh Kumar wrote: > This patch adds debugfs support for boot constraints. This is how it > looks for a "vmmc-supply" constraint for the MMC device. > Hi, Does this build OK when DEBUG_FS is not enabled in kernel .config? -- ~Randy
Re: [RFC 4/5] drivers: boot_constraint: Add debugfs support
On 06/28/2017 03:26 AM, Viresh Kumar wrote: > This patch adds debugfs support for boot constraints. This is how it > looks for a "vmmc-supply" constraint for the MMC device. > Hi, Does this build OK when DEBUG_FS is not enabled in kernel .config? -- ~Randy