mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +03:00
gpu: nvgpu: fix channel include guards
The common channel header was missing include guards, so add them. Also rename the Linux channel header guard that was in conflict. Jira NVGPU-967 Change-Id: If782407ef1497202196a362893ef9c1b2330977a Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1807372 Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
16ef96d4de
commit
79b10cbcf7
@@ -20,6 +20,9 @@
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef NVGPU_CHANNEL_H
|
||||
#define NVGPU_CHANNEL_H
|
||||
|
||||
#include <nvgpu/types.h>
|
||||
|
||||
#include "gk20a/gk20a.h"
|
||||
@@ -50,3 +53,5 @@ static inline void trace_write_pushbuffers(struct channel_gk20a *c, int count)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#ifndef __NVGPU_CHANNEL_H__
|
||||
#define __NVGPU_CHANNEL_H__
|
||||
#ifndef NVGPU_LINUX_CHANNEL_H
|
||||
#define NVGPU_LINUX_CHANNEL_H
|
||||
|
||||
#include <linux/workqueue.h>
|
||||
#include <linux/dma-buf.h>
|
||||
@@ -84,4 +84,4 @@ struct channel_gk20a *gk20a_open_new_channel_with_cb(struct gk20a *g,
|
||||
int runlist_id,
|
||||
bool is_privileged_channel);
|
||||
|
||||
#endif /* __NVGPU_CHANNEL_H__ */
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user