X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=arch%2Fpowerpc%2Finclude%2Fasm%2Fmacio.h;h=19a661b4cb98205f6304c3c449062e6ca20e3c94;hp=a062c57696d080b99ae231a70a443ee075e443fc;hb=2214482cb00e6da1397c2ecde5b392490eb9637f;hpb=84abd88a70090cf00f9e45c3a81680874f17626e diff --git a/arch/powerpc/include/asm/macio.h b/arch/powerpc/include/asm/macio.h index a062c57696d0..19a661b4cb98 100644 --- a/arch/powerpc/include/asm/macio.h +++ b/arch/powerpc/include/asm/macio.h @@ -108,7 +108,7 @@ static inline void* macio_get_drvdata(struct macio_dev *dev) static inline struct device_node *macio_get_of_node(struct macio_dev *mdev) { - return mdev->ofdev.node; + return mdev->ofdev.dev.of_node; } #ifdef CONFIG_PCI