@@ -66,18 +66,17 @@ int qcom_scm_wait_for_wq_completion(u32 wq_ctx);
66
66
int scm_get_wq_ctx (u32 * wq_ctx , u32 * flags , u32 * more_pending );
67
67
68
68
#define SCM_SMC_FNID (s , c ) ((((s) & 0xFF) << 8) | ((c) & 0xFF))
69
- extern int __scm_smc_call (struct device * dev , const struct qcom_scm_desc * desc ,
70
- enum qcom_scm_convention qcom_convention ,
71
- struct qcom_scm_res * res , bool atomic );
69
+ int __scm_smc_call (struct device * dev , const struct qcom_scm_desc * desc ,
70
+ enum qcom_scm_convention qcom_convention ,
71
+ struct qcom_scm_res * res , bool atomic );
72
72
#define scm_smc_call (dev , desc , res , atomic ) \
73
73
__scm_smc_call((dev), (desc), qcom_scm_convention, (res), (atomic))
74
74
75
75
#define SCM_LEGACY_FNID (s , c ) (((s) << 10) | ((c) & 0x3ff))
76
- extern int scm_legacy_call_atomic (struct device * dev ,
77
- const struct qcom_scm_desc * desc ,
78
- struct qcom_scm_res * res );
79
- extern int scm_legacy_call (struct device * dev , const struct qcom_scm_desc * desc ,
76
+ int scm_legacy_call_atomic (struct device * dev , const struct qcom_scm_desc * desc ,
80
77
struct qcom_scm_res * res );
78
+ int scm_legacy_call (struct device * dev , const struct qcom_scm_desc * desc ,
79
+ struct qcom_scm_res * res );
81
80
82
81
#define QCOM_SCM_SVC_BOOT 0x01
83
82
#define QCOM_SCM_BOOT_SET_ADDR 0x01
0 commit comments