]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/mace.c
[POWERPC] netdevices: Constify & voidify get_property()
[linux-2.6-omap-h63xx.git] / drivers / net / mace.c
index 29e4b5aa6eadb1e954eb9e3a95ea20684decd955..5d80e0e6a8e90888e7eca5d5be93784799449a0e 100644 (file)
@@ -113,7 +113,7 @@ static int __devinit mace_probe(struct macio_dev *mdev, const struct of_device_i
        struct device_node *mace = macio_get_of_node(mdev);
        struct net_device *dev;
        struct mace_data *mp;
-       unsigned char *addr;
+       const unsigned char *addr;
        int j, rev, rc = -EBUSY;
 
        if (macio_resource_count(mdev) != 3 || macio_irq_count(mdev) != 3) {