Loading drivers/gpu/drm/msm/dp/dp_debug.c +7 −1 Original line number Diff line number Diff line /* * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -1850,6 +1850,12 @@ static int dp_debug_init(struct dp_debug *dp_debug) struct dp_debug_private, dp_debug); struct dentry *dir, *file; if (!IS_ENABLED(CONFIG_DEBUG_FS)) { pr_err("Not creating debug root dir\n"); debug->root = NULL; return 0; } dir = debugfs_create_dir(DEBUG_NAME, NULL); if (IS_ERR_OR_NULL(dir)) { if (!dir) Loading Loading
drivers/gpu/drm/msm/dp/dp_debug.c +7 −1 Original line number Diff line number Diff line /* * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -1850,6 +1850,12 @@ static int dp_debug_init(struct dp_debug *dp_debug) struct dp_debug_private, dp_debug); struct dentry *dir, *file; if (!IS_ENABLED(CONFIG_DEBUG_FS)) { pr_err("Not creating debug root dir\n"); debug->root = NULL; return 0; } dir = debugfs_create_dir(DEBUG_NAME, NULL); if (IS_ERR_OR_NULL(dir)) { if (!dir) Loading