media: spacemit: cam_isp: Fix declaration
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 26 Dec 2024 09:27:29 +0000 (18:27 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 29 Apr 2025 03:38:21 +0000 (12:38 +0900)
commitce9fbabd0a25f9a346045803da3781c55c542d61
treec640064c5e0e90758d5860a9a831fbfcaa985176
parent41ae5045e1f3c4eb39eaa59aab200d8d13dd0cd3
media: spacemit: cam_isp: Fix declaration

Some compilers give an error, "a label can only be part of a
statement and a declaration is not a statement" for declaration
in middle of statement. Fix the error by moving declaration to
function top.

Change-Id: I4abcb45fd8b6824869d772bc1fda2083ae7475c0
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/media/platform/spacemit/camera/cam_isp/k1x_isp_pipe.c