1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2015 Thomas Chou <thomas@wytron.com.tw>
8 #include <dm/device-internal.h>
13 * Implement a MTD uclass which should include most flash drivers.
14 * The uclass private is pointed to mtd_info.
17 UCLASS_DRIVER(mtd) = {
20 .per_device_auto = sizeof(struct mtd_info),