From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB
---
kernel/drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.h | 19 +------------------
1 files changed, 1 insertions(+), 18 deletions(-)
diff --git a/kernel/drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.h b/kernel/drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.h
index bc07381..e6b5c77 100644
--- a/kernel/drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.h
+++ b/kernel/drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.h
@@ -1,19 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (c) 2012, 2017-2018, The Linux Foundation. All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 and
- * only version 2 as published by the Free Software Foundation.
- *
- * 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 __DPU_IO_UTIL_H__
#define __DPU_IO_UTIL_H__
-#include <linux/gpio.h>
#include <linux/platform_device.h>
#include <linux/types.h>
@@ -21,12 +12,6 @@
#define DEV_INFO(fmt, args...) pr_info(fmt, ##args)
#define DEV_WARN(fmt, args...) pr_warn(fmt, ##args)
#define DEV_ERR(fmt, args...) pr_err(fmt, ##args)
-
-struct dss_gpio {
- unsigned int gpio;
- unsigned int value;
- char gpio_name[32];
-};
enum dss_clk_type {
DSS_CLK_AHB, /* no set rate. rate controlled through rpm */
@@ -42,8 +27,6 @@
};
struct dss_module_power {
- unsigned int num_gpio;
- struct dss_gpio *gpio_config;
unsigned int num_clk;
struct dss_clk *clk_config;
};
--
Gitblit v1.6.2