]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/pcmcia/m8xx_pcmcia.c
edac: mpc85xx: add support for new MPCxxx/Pxxxx EDAC controllers
[karo-tx-linux.git] / drivers / pcmcia / m8xx_pcmcia.c
index 1a648b90b634890512ffb95560c1944d5d7a214a..f2f90a7d3e12279b0684dfc903a95ae2ed2c6893 100644 (file)
@@ -59,7 +59,6 @@
 #include <asm/irq.h>
 #include <asm/fs_pd.h>
 
-#include <pcmcia/cs_types.h>
 #include <pcmcia/cs.h>
 #include <pcmcia/ss.h>
 
@@ -1157,7 +1156,7 @@ static int __init m8xx_probe(struct of_device *ofdev,
        unsigned int i, m, hwirq;
        pcmconf8xx_t *pcmcia;
        int status;
-       struct device_node *np = ofdev->node;
+       struct device_node *np = ofdev->dev.of_node;
 
        pcmcia_info("%s\n", version);
 
@@ -1301,7 +1300,7 @@ static struct of_platform_driver m8xx_pcmcia_driver = {
        .driver = {
                .name = driver_name,
                .owner = THIS_MODULE,
-               .match_table = m8xx_pcmcia_match,
+               .of_match_table = m8xx_pcmcia_match,
        },
        .probe = m8xx_probe,
        .remove = m8xx_remove,