Segher Boessenkool wrote:

     {
+        .compatible    = "physmap-ram",
+        .data        = (void *)"map_ram",
+    },
+    {
+        .compatible    = "physmap-rom",
+        .data        = (void *)"map_rom",
+    },

Why the cast?  It's redundant afaics.

  To be in line with the surrounding code...

Segher

WBR, Sergei
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to