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

39 lines
1.1 KiB
Diff

diff -drupN a/drivers/input/keyboard/sunxi-gpio-ir-tx.h b/drivers/input/keyboard/sunxi-gpio-ir-tx.h
--- a/drivers/input/keyboard/sunxi-gpio-ir-tx.h 1970-01-01 03:00:00.000000000 +0300
+++ b/drivers/input/keyboard/sunxi-gpio-ir-tx.h 2022-06-12 05:28:14.000000000 +0300
@@ -0,0 +1,34 @@
+/*
+ * drivers/input/keyboard/sunxi-gpio-ir-tx.h
+ *
+ * Copyright (c) 2013-2018 Allwinnertech Co., Ltd.
+ *
+ * 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 _SUNXI_GPIO_IR_TX_H
+#define _SUNXI_GPIO_IR_TX_H
+
+ /*
+ * Defines
+ */
+#define DRV_VERSION "1.0"
+
+enum {
+ DEBUG_INIT = 1U << 0,
+ DEBUG_INT = 1U << 1,
+ DEBUG_DATA_INFO = 1U << 2,
+ DEBUG_SUSPEND = 1U << 3,
+ DEBUG_ERR = 1U << 4,
+};
+
+#endif /* _SUNXI_GPIO_IR_TX_H */
+