firmware/br-ext-chip-allwinner/board/v83x/kernel/patches/00000-include_linux_ion_sun...

33 lines
993 B
Diff

diff -drupN a/include/linux/ion_sunxi.h b/include/linux/ion_sunxi.h
--- a/include/linux/ion_sunxi.h 1970-01-01 03:00:00.000000000 +0300
+++ b/include/linux/ion_sunxi.h 2022-06-12 05:28:14.000000000 +0300
@@ -0,0 +1,28 @@
+/*
+ * include/linux/ion_sunxi.h
+ *
+ * Copyright(c) 2015-2020 Allwinnertech Co., Ltd.
+ * http://www.allwinnertech.com
+ *
+ * Author: Wim Hwang<haungwei@allwinnertech.com>
+ *
+ * sunxi ion header file
+ *
+ * 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.
+ */
+
+#ifndef _INCLUDE_LINUX_ION_SUNXI_H
+#define _INCLUDE_LINUX_ION_SUNXI_H
+
+#include "../../drivers/staging/android/ion/sunxi/sunxi_ion.h"
+#include "../../drivers/staging/android/ion/ion_priv.h"
+
+struct ion_mem_reserve_info {
+ u32 size;
+ u32 start; /*physical start address*/
+};
+
+#endif