diff -drupN a/drivers/mmc/host/sunxi-mmc-panic.h b/drivers/mmc/host/sunxi-mmc-panic.h --- a/drivers/mmc/host/sunxi-mmc-panic.h 1970-01-01 03:00:00.000000000 +0300 +++ b/drivers/mmc/host/sunxi-mmc-panic.h 2022-06-12 05:28:14.000000000 +0300 @@ -0,0 +1,25 @@ +/* +* Sunxi SD/MMC host driver +* +* Copyright (C) 2019 AllWinnertech Ltd. +* Author: lixiang +* +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License version 2 as +* published by the Free Software Foundation. +* +* This program is distributed "as is" WITHOUT ANY WARRANTY of any +* kind, whether express or implied; without even the implied warranty +* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +*/ + +#ifndef __SUNXI_MMC_PANIC_H__ +#define __SUNXI_MMC_PANIC_H__ +ssize_t +sunxi_mmc_panic_rtest(struct device *dev, struct device_attribute *attr, char *buf); +ssize_t +sunxi_mmc_pancic_wrtest(struct device *dev, struct device_attribute *attr, + const char *buf, size_t count); +int sunxi_mmc_panic_init_ps(void *data); +#endif