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)
23 lines
608 B
C
23 lines
608 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _DEVBOARD_PLATFORM_H_
|
|
#define _DEVBOARD_PLATFORM_H_
|
|
|
|
#include <linux/init.h>
|
|
|
|
int __init db1x_register_pcmcia_socket(phys_addr_t pcmcia_attr_start,
|
|
phys_addr_t pcmcia_attr_len,
|
|
phys_addr_t pcmcia_mem_start,
|
|
phys_addr_t pcmcia_mem_end,
|
|
phys_addr_t pcmcia_io_start,
|
|
phys_addr_t pcmcia_io_end,
|
|
int card_irq,
|
|
int cd_irq,
|
|
int stschg_irq,
|
|
int eject_irq,
|
|
int id);
|
|
|
|
int __init db1x_register_norflash(unsigned long size, int width,
|
|
int swapped);
|
|
|
|
#endif
|