Skip to content

Commit 42bacee

Browse files
committed
drivers/misc/qseecom.c: declare function prototypes
__qseecom_send_modfd_cmd() calls functions before they are declared. This resolves the implicit declaration compile errors.
1 parent 33c4728 commit 42bacee

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

drivers/misc/qseecom.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4294,6 +4294,12 @@ static int __qseecom_update_cmd_buf_64(void *msg, bool cleanup,
42944294
return -ENOMEM;
42954295
}
42964296

4297+
static int __qseecom_alloc_coherent_buf(
4298+
uint32_t size, u8 **vaddr, phys_addr_t *paddr);
4299+
4300+
static void __qseecom_free_coherent_buf(uint32_t size,
4301+
u8 *vaddr, phys_addr_t paddr);
4302+
42974303
static int __qseecom_send_modfd_cmd(struct qseecom_dev_handle *data,
42984304
void __user *argp,
42994305
bool is_64bit_addr)

0 commit comments

Comments
 (0)