commit | 1b42e859996fdcc44ca7f1621b55654161ea4ca4 | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Sat Oct 31 17:32:50 2020 +0100 |
committer | Lokesh Vutla <lokeshvutla@ti.com> | Sun Nov 15 15:29:40 2020 +0530 |
tree | d4df26608140e83ace835ad2ea1e7f7014b3878f | |
parent | be2ff865dc4d0f7730bde6d52a51eeb5e5723bf0 [diff] |
mtd: OneNAND: Set MTD type onenand_probe() function is missing to set mtd->type. So set same type as which sets onenand Linux kernel driver. After this change 'mtd list' prints correct type instead of 'Unknown'. Signed-off-by: Pali Rohár <pali@kernel.org>