Skip to content

Commit

Permalink
drivers/misc/qseecom.c: declare function prototypes
Browse files Browse the repository at this point in the history
__qseecom_send_modfd_cmd() calls functions before they are declared.
This resolves the implicit declaration compile errors.
  • Loading branch information
usertam committed Oct 12, 2021
1 parent 33c4728 commit 42bacee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions drivers/misc/qseecom.c
Original file line number Diff line number Diff line change
Expand Up @@ -4294,6 +4294,12 @@ static int __qseecom_update_cmd_buf_64(void *msg, bool cleanup,
return -ENOMEM;
}

static int __qseecom_alloc_coherent_buf(
uint32_t size, u8 **vaddr, phys_addr_t *paddr);

static void __qseecom_free_coherent_buf(uint32_t size,
u8 *vaddr, phys_addr_t paddr);

static int __qseecom_send_modfd_cmd(struct qseecom_dev_handle *data,
void __user *argp,
bool is_64bit_addr)
Expand Down

0 comments on commit 42bacee

Please sign in to comment.