diff options
Diffstat (limited to 'goldfish_pipe.h')
-rw-r--r-- | goldfish_pipe.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/goldfish_pipe.h b/goldfish_pipe.h deleted file mode 100644 index 385e306..0000000 --- a/goldfish_pipe.h +++ /dev/null @@ -1,36 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2018 Google, Inc. - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * This program is distributed in the hope that 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. - * - */ - -#ifndef GOLDFISH_PIPE_H -#define GOLDFISH_PIPE_H - -#define DEVICE_NAME "goldfish_pipe" - -struct goldfish_pipe_dev_base { - /* the destructor, the pointer is set in init */ - int (*deinit)(void *pipe_dev, struct platform_device *pdev); -}; - -/* The entry point to the pipe v1 driver */ -int goldfish_pipe_device_v1_init(struct platform_device *pdev, - void __iomem *base, - int irq); - -/* The entry point to the pipe v2 driver */ -int goldfish_pipe_device_v2_init(struct platform_device *pdev, - char __iomem *base, - int irq); - -#endif /* GOLDFISH_PIPE_H */ |