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)
31 lines
705 B
C
31 lines
705 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __IDE_DISK_H
|
|
#define __IDE_DISK_H
|
|
|
|
#include "ide-gd.h"
|
|
|
|
#ifdef CONFIG_IDE_GD_ATA
|
|
/* ide-disk.c */
|
|
extern const struct ide_disk_ops ide_ata_disk_ops;
|
|
ide_decl_devset(address);
|
|
ide_decl_devset(multcount);
|
|
ide_decl_devset(nowerr);
|
|
ide_decl_devset(wcache);
|
|
ide_decl_devset(acoustic);
|
|
|
|
/* ide-disk_ioctl.c */
|
|
int ide_disk_ioctl(ide_drive_t *, struct block_device *, fmode_t, unsigned int,
|
|
unsigned long);
|
|
|
|
#ifdef CONFIG_IDE_PROC_FS
|
|
/* ide-disk_proc.c */
|
|
extern ide_proc_entry_t ide_disk_proc[];
|
|
extern const struct ide_proc_devset ide_disk_settings[];
|
|
#endif
|
|
#else
|
|
#define ide_disk_proc NULL
|
|
#define ide_disk_settings NULL
|
|
#endif
|
|
|
|
#endif /* __IDE_DISK_H */
|