mtd: spi-nor-core: Move SFDP related declarations to top
authorPratyush Yadav <p.yadav@ti.com>
Fri, 25 Jun 2021 19:17:12 +0000 (00:47 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 28 Jun 2021 06:28:46 +0000 (11:58 +0530)
commite2e31fa6800f701cd370b886035c72d6116a8cb1
tree50c8971e59734eb66e2d0af35c656b1c25621757
parent18b0de0f3be223cd2f468c03b5ea02e5f6bc6d82
mtd: spi-nor-core: Move SFDP related declarations to top

These structures will be used in a later commit inside another structure
definition. Also take the declarations out of the ifdef since they won't
affect the final binary anyway and will be used in a later commit.

Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/mtd/spi/spi-nor-core.c