X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fipu_pixfmt.h;h=866ead0ec719284609c1d6a21cbfd27382c40561;hb=b4ee6daad7a2604ca9466b2ba48de86cc27d381f;hp=0019898d51087f223c815a8c676bcbab9aa9ac55;hpb=a1b0e190a3c0c7e1a40877218804a656e45194be;p=oweals%2Fu-boot.git diff --git a/include/ipu_pixfmt.h b/include/ipu_pixfmt.h index 0019898d51..866ead0ec7 100644 --- a/include/ipu_pixfmt.h +++ b/include/ipu_pixfmt.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2011 * Stefano Babic, DENX Software Engineering, sbabic@denx.de @@ -5,24 +6,6 @@ * Based on Linux IPU driver for MX51 (ipu.h): * * (C) Copyright 2005-2010 Freescale Semiconductor, Inc. - * - * See file CREDITS for list of people who contributed to this - * project. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA */ #ifndef __IPU_PIXFMT_H__ @@ -76,6 +59,9 @@ #define IPU_PIX_FMT_YVU422P fourcc('Y', 'V', '1', '6') /*< 16 YVU 4:2:2 */ #define IPU_PIX_FMT_YUV422P fourcc('4', '2', '2', 'P') /*< 16 YUV 4:2:2 */ -int ipuv3_fb_init(struct fb_videomode *mode, uint8_t disp, uint32_t pixfmt); +int ipuv3_fb_init(struct fb_videomode const *mode, + uint8_t disp, + uint32_t pixfmt); +void ipuv3_fb_shutdown(void); #endif