diff options
author | Shashank Singh <shashsingh@nvidia.com> | 2017-10-12 01:26:55 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-17 07:28:29 -0400 |
commit | 682abd7b5cd544f83b8905830cd9b738c458be7f (patch) | |
tree | 60d8f968857d65d03057db48c09cc0416afa3713 /drivers/gpu/nvgpu/include | |
parent | 47fe66a461db349a884c4eed64a07377bbdb2a91 (diff) |
nvgpu: fix multiple build issues for QNX
- timers and bug header files should be
included directly. Linux maybe getting
it via indirect includes. Also, QNX
requires non-static function to be
declared explicitly.
Change-Id: I2458654f535d8079347e4a0be744530f56388238
Signed-off-by: Shashank Singh <shashsingh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1577527
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sourab Gupta <sourabg@nvidia.com>
Tested-by: Sourab Gupta <sourabg@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/falcon.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/falcon.h b/drivers/gpu/nvgpu/include/nvgpu/falcon.h index db0dd72b..72c74784 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/falcon.h +++ b/drivers/gpu/nvgpu/include/nvgpu/falcon.h | |||
@@ -192,6 +192,8 @@ int nvgpu_flcn_copy_to_dmem(struct nvgpu_falcon *flcn, | |||
192 | u32 dst, u8 *src, u32 size, u8 port); | 192 | u32 dst, u8 *src, u32 size, u8 port); |
193 | int nvgpu_flcn_copy_to_imem(struct nvgpu_falcon *flcn, | 193 | int nvgpu_flcn_copy_to_imem(struct nvgpu_falcon *flcn, |
194 | u32 dst, u8 *src, u32 size, u8 port, bool sec, u32 tag); | 194 | u32 dst, u8 *src, u32 size, u8 port, bool sec, u32 tag); |
195 | int nvgpu_flcn_copy_from_imem(struct nvgpu_falcon *flcn, | ||
196 | u32 src, u8 *dst, u32 size, u8 port); | ||
195 | int nvgpu_flcn_dma_copy(struct nvgpu_falcon *flcn, | 197 | int nvgpu_flcn_dma_copy(struct nvgpu_falcon *flcn, |
196 | struct nvgpu_falcon_dma_info *dma_info); | 198 | struct nvgpu_falcon_dma_info *dma_info); |
197 | u32 nvgpu_flcn_mailbox_read(struct nvgpu_falcon *flcn, u32 mailbox_index); | 199 | u32 nvgpu_flcn_mailbox_read(struct nvgpu_falcon *flcn, u32 mailbox_index); |