1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Copyright (C) 2018 Google, Inc. 4 * 5 * This software is licensed under the terms of the GNU General Public 6 * License version 2, as published by the Free Software Foundation, and 7 * may be copied, distributed, and modified under those terms. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 */ 15 16 #ifndef GOLDFISH_PIPE_H 17 #define GOLDFISH_PIPE_H 18 19 #define DEVICE_NAME "goldfish_pipe" 20 21 struct goldfish_pipe_dev_base { 22 /* the destructor, the pointer is set in init */ 23 int (*deinit)(void *pipe_dev, struct platform_device *pdev); 24 }; 25 26 #endif /* GOLDFISH_PIPE_H */ 27