Pārlūkot izejas kodu

msm: camera: utils: Fix compilation error due to missing param

With more restricted compilation flags, void parameter is
needed in funciton prototype if no other args exist.

CRs-Fixed: 3306362
Change-Id: I7cdc7d56ff0a5bf5e626ff964dd284faae424bc1
Signed-off-by: Pavan Kumar Chilamkurthi <[email protected]>
Pavan Kumar Chilamkurthi 2 gadi atpakaļ
vecāks
revīzija
afaad38b36
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      drivers/cam_utils/cam_debug_util.c

+ 1 - 1
drivers/cam_utils/cam_debug_util.c

@@ -106,7 +106,7 @@ int cam_debugfs_lookup_subdir(const char *name, struct dentry **subdir)
 	return (*subdir) ? 0 : -ENOENT;
 }
 
-const struct camera_debug_settings *cam_debug_get_settings()
+const struct camera_debug_settings *cam_debug_get_settings(void)
 {
 	return &cam_debug;
 }