Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
34 lines
727 B
C
34 lines
727 B
C
/*
|
|
* Copyright (C) 2013-2016, Shenzhen Huiding Technology Co., Ltd.
|
|
* All Rights Reserved.
|
|
*/
|
|
#include <linux/device.h>
|
|
#include <linux/input.h>
|
|
#include <linux/mutex.h>
|
|
#include <linux/io.h>
|
|
#include <linux/gpio.h>
|
|
#include <linux/fb.h>
|
|
#include <linux/clk.h>
|
|
#include <net/sock.h>
|
|
#include <linux/spi/spi.h>
|
|
#include <linux/spi/spidev.h>
|
|
|
|
/* MTK header */
|
|
//#include "mt_spi.h"
|
|
//#include "mt_spi_hal.h"
|
|
//#include "mt_gpio.h"
|
|
//#include "mach/gpio_const.h"
|
|
|
|
//#include "mtk_spi.h"
|
|
//#include "mtk_spi_hal.h"
|
|
|
|
/*
|
|
int gf_ioctl_spi_init_cfg_cmd(struct mt_chip_conf *mcc, unsigned long arg){
|
|
return 0;
|
|
}
|
|
|
|
int gf_ioctl_transfer_raw_cmd(struct gf_device *gf_dev, unsigned long arg,unsigned int bufsiz){
|
|
return 0;
|
|
}
|
|
*/
|