Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176133
b: refs/heads/master
c: d68bf97
h: refs/heads/master
i:
  176131: cf3c9ab
v: v3
  • Loading branch information
Michal Simek committed Dec 14, 2009
1 parent a8bf35d commit b8b0b06
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6d858535be59b220c0f8dc335e030c2e3f3a3032
refs/heads/master: d68bf9705ad490ad86b0b1be9a2b91a363d6eccc
12 changes: 12 additions & 0 deletions trunk/arch/microblaze/include/asm/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */


0 comments on commit b8b0b06

Please sign in to comment.