From b8b0b06f5559c9b86a3cb114e848be79e94deb25 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Mon, 23 Nov 2009 10:07:51 +0100 Subject: [PATCH] --- yaml --- r: 176133 b: refs/heads/master c: d68bf9705ad490ad86b0b1be9a2b91a363d6eccc h: refs/heads/master i: 176131: cf3c9ab32b4c434687d23350488fdfaf38dc8749 v: v3 --- [refs] | 2 +- trunk/arch/microblaze/include/asm/device.h | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 5a6758201f91..a815b424390e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6d858535be59b220c0f8dc335e030c2e3f3a3032 +refs/heads/master: d68bf9705ad490ad86b0b1be9a2b91a363d6eccc diff --git a/trunk/arch/microblaze/include/asm/device.h b/trunk/arch/microblaze/include/asm/device.h index 30286db27c1c..78a038452c0f 100644 --- a/trunk/arch/microblaze/include/asm/device.h +++ b/trunk/arch/microblaze/include/asm/device.h @@ -19,6 +19,18 @@ struct dev_archdata { struct pdev_archdata { }; +static inline void dev_archdata_set_node(struct dev_archdata *ad, + struct device_node *np) +{ + ad->of_node = np; +} + +static inline struct device_node * +dev_archdata_get_node(const struct dev_archdata *ad) +{ + return ad->of_node; +} + #endif /* _ASM_MICROBLAZE_DEVICE_H */