mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
da9a75de37
PD#SWPL-105579 Problem: __setup not useful Solution: add amlogic/gki_module.h in module_merge.h Verify: sc2 Change-Id: I720e8e668e0d9c5542067ac758836cb62d4256e2 Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
22 lines
418 B
C
22 lines
418 B
C
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
|
|
/*
|
|
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef _MODULE_MERGE_H_
|
|
#define _MODULE_MERGE_H_
|
|
|
|
#include <linux/amlogic/gki_module.h>
|
|
|
|
#define call_sub_init(func) \
|
|
{ \
|
|
int ret = 0; \
|
|
ret = func(); \
|
|
if (ret < 0) \
|
|
pr_err("call %s() ret=%d\n", #func, ret); \
|
|
else \
|
|
pr_debug("call %s() success\n", #func); \
|
|
}
|
|
|
|
#endif /* _MODULE_MERGE_H_ */
|