mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

clang 19 complains about the missing parameter name. Let's add it.
drivers/media/platform/st/sti/c8sectpfe/c8sectpfe-debugfs.h:19:62: warning: omitting the parameter name in a function definition is a C23 extension [-Wc23-extensions]
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202406050908.1kL1C69p-lkp@intel.com/
Fixes: e22b4973ee
("media: c8sectpfe: Do not depend on DEBUG_FS")
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
23 lines
614 B
C
23 lines
614 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* c8sectpfe-debugfs.h - C8SECTPFE STi DVB driver debugfs header
|
|
*
|
|
* Copyright (c) STMicroelectronics 2015
|
|
*
|
|
* Authors: Peter Griffin <peter.griffin@linaro.org>
|
|
*/
|
|
|
|
#ifndef __C8SECTPFE_DEBUG_H
|
|
#define __C8SECTPFE_DEBUG_H
|
|
|
|
#include "c8sectpfe-core.h"
|
|
|
|
#if defined(CONFIG_DEBUG_FS)
|
|
void c8sectpfe_debugfs_init(struct c8sectpfei *);
|
|
void c8sectpfe_debugfs_exit(struct c8sectpfei *);
|
|
#else
|
|
static inline void c8sectpfe_debugfs_init(struct c8sectpfei *fei) {};
|
|
static inline void c8sectpfe_debugfs_exit(struct c8sectpfei *fei) {};
|
|
#endif
|
|
|
|
#endif /* __C8SECTPFE_DEBUG_H */
|