From 660c9a95104b37c947e0c2f6aeda4c92698b40f4 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Thu, 23 Mar 2017 12:49:58 -0700 Subject: gpu: nvgpu: Move ctrl IOCTL creation to Linux module Move all code related to ctrl devnode to under Linux module. JIRA NVGPU-16 Change-Id: I834b46ec4172076d7bde459168f1e6bc8c5d6c0c Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/1330802 Reviewed-by: svccoveritychecker GVS: Gerrit_Virtual_Submit --- drivers/gpu/nvgpu/gk20a/ctrl_gk20a.h | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 drivers/gpu/nvgpu/gk20a/ctrl_gk20a.h (limited to 'drivers/gpu/nvgpu/gk20a/ctrl_gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/ctrl_gk20a.h b/drivers/gpu/nvgpu/gk20a/ctrl_gk20a.h deleted file mode 100644 index 26ca4e20..00000000 --- a/drivers/gpu/nvgpu/gk20a/ctrl_gk20a.h +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (c) 2011-2012, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#ifndef CTRL_GK20A_H -#define CTRL_GK20A_H - -int gk20a_ctrl_dev_open(struct inode *inode, struct file *filp); -int gk20a_ctrl_dev_release(struct inode *inode, struct file *filp); -long gk20a_ctrl_dev_ioctl(struct file *filp, unsigned int cmd, unsigned long arg); - -#endif /* CTRL_GK20A_H */ -- cgit v1.2.2