Messages in this thread | | | Date | Tue, 14 Jul 2015 10:23:30 +0200 | From | Christian König <> | Subject | Re: [PATCH] gpu/drm/amdgpu: Include <linux/debugfs.h> only if CONFIG_DEBUG_FS is set |
| |
On 14.07.2015 10:18, Alexander Kuleshov wrote: > Hello Alex, > > 2015-07-14 11:11 GMT+06:00 Alex Deucher <alexdeucher@gmail.com>: >> This patch breaks the build with debugfs enabled. >> > I've tried to built with CONFIG_DEBUG_FS={y/n} and it builds > successfully. Did I miss something? > Maybe I need to enable/disable anything else CONFIG_*?
Price question is why do you want to conditionally include this header in the first place?
If the kernel isn't build with CONFIG_DEBUG_FS we shouldn't use the defines, but otherwise they don't seem to hurt.
Regards, Christian.
> > Thank you.
| |