Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204907
b: refs/heads/master
c: f9f5a46
h: refs/heads/master
i:
  204905: 86b1010
  204903: ad593b2
v: v3
  • Loading branch information
Grant Likely committed Jul 5, 2010
1 parent c618594 commit 6c24405
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8cec0e7b4c7c0b76f2b5285f250211ad81c3eafd
refs/heads/master: f9f5a4669f1334a558f102c311debfd008e7c2bc
12 changes: 5 additions & 7 deletions trunk/include/linux/of_device.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
#ifndef _LINUX_OF_DEVICE_H
#define _LINUX_OF_DEVICE_H

#ifdef CONFIG_OF_DEVICE
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/of.h>
#include <linux/mod_devicetable.h>


/*
* The of_device *was* a kind of "base class" that was a superset of
* struct device for use by devices attached to an OF node and probed
Expand All @@ -22,7 +15,12 @@
* from the kernel.
*/
#define of_device platform_device
#include <linux/platform_device.h>

#ifdef CONFIG_OF_DEVICE
#include <linux/device.h>
#include <linux/of.h>
#include <linux/mod_devicetable.h>
#include <asm/of_device.h>

#define to_of_device(d) container_of(d, struct of_device, dev)
Expand Down

0 comments on commit 6c24405

Please sign in to comment.