The user might want to trigger the probe of any MTD device, export these functions so they can be called from a command source file. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Jagan Teki <jagan@openedev.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
13 lines
224 B
C
13 lines
224 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2015 Thomas Chou <thomas@wytron.com.tw>
|
|
*/
|
|
|
|
#ifndef _MTD_H_
|
|
#define _MTD_H_
|
|
|
|
#include <linux/mtd/mtd.h>
|
|
|
|
int mtd_probe(struct udevice *dev);
|
|
|
|
#endif /* _MTD_H_ */
|