ax88796: make pointer to platform data const
authorMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 21 Feb 2011 09:43:31 +0000 (10:43 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 21 Feb 2011 12:17:40 +0000 (13:17 +0100)
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/ax88796.c

index 782d73e..fd289e5 100644 (file)
@@ -89,7 +89,7 @@ struct ax_device {
        void __iomem *map2;
        struct resource *mem;
        struct resource *mem2;
-       struct ax_plat_data *plat;
+       const struct ax_plat_data *plat;
 
        unsigned char running;
        unsigned char resume_open;