OSDN Git Service

Merge tag 'driver-core-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[tomoyo/tomoyo-test1.git] / drivers / net / ethernet / ti / davinci_emac.c
index 5f4ece0..ae27be8 100644 (file)
@@ -1371,7 +1371,7 @@ static int emac_devioctl(struct net_device *ndev, struct ifreq *ifrq, int cmd)
                return -EOPNOTSUPP;
 }
 
-static int match_first_device(struct device *dev, void *data)
+static int match_first_device(struct device *dev, const void *data)
 {
        if (dev->parent && dev->parent->of_node)
                return of_device_is_compatible(dev->parent->of_node,