1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2015 Thomas Chou <thomas@wytron.com.tw>
12 * Implement a MTD uclass which should include most flash drivers.
13 * The uclass private is pointed to mtd_info.
16 UCLASS_DRIVER(mtd) = {
19 .per_device_auto_alloc_size = sizeof(struct mtd_info),