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 782d73e0b659dcb81c3a52766dc77908b648c302..fd289e52b2eccc5a287195994dab9b805d3a146a 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;