Fix to davinci_nand.h to place CEnCFG registers at correct
authorPeter Howard <pjh@northern-ridge.com.au>
Thu, 2 Jun 2016 03:19:26 +0000 (13:19 +1000)
committerTom Rini <trini@konsulko.com>
Mon, 6 Jun 2016 17:39:12 +0000 (13:39 -0400)
Signed-off-by: Peter Howard <phoward@gme.net.au>
arch/arm/include/asm/ti-common/davinci_nand.h

index 11407be..f343ac2 100644 (file)
@@ -35,10 +35,12 @@ struct davinci_emif_regs {
        uint32_t        sdrcr;
        union {
                uint32_t abncr[4];
-               uint32_t ab1cr;
-               uint32_t ab2cr;
-               uint32_t ab3cr;
-               uint32_t ab4cr;
+               struct {
+                       uint32_t ab1cr;
+                       uint32_t ab2cr;
+                       uint32_t ab3cr;
+                       uint32_t ab4cr;
+               };
        };
        uint32_t        sdtimr;
        uint32_t        ddrsr;