Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204931
b: refs/heads/master
c: 2959604
h: refs/heads/master
i:
  204929: 9a46bfc
  204927: c0379c0
v: v3
  • Loading branch information
Grant Likely committed Jul 24, 2010
1 parent d4d973e commit 79e1ed1
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 37 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: 129ac799ad627b1e08382739f9e8cd75d7477fa3
refs/heads/master: 295960429675e17ec658320ebb24385727032bed
13 changes: 0 additions & 13 deletions trunk/arch/microblaze/include/asm/of_device.h

This file was deleted.

3 changes: 0 additions & 3 deletions trunk/arch/powerpc/include/asm/of_device.h

This file was deleted.

2 changes: 2 additions & 0 deletions trunk/arch/sparc/include/asm/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ struct dev_archdata {
int numa_node;
};

extern void of_propagate_archdata(struct platform_device *bus);

struct pdev_archdata {
struct resource resource[PROMREG_MAX];
unsigned int irqs[PROMINTR_MAX];
Expand Down
19 changes: 0 additions & 19 deletions trunk/arch/sparc/include/asm/of_device.h

This file was deleted.

4 changes: 4 additions & 0 deletions trunk/arch/sparc/include/asm/prom.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ extern void prom_build_devicetree(void);
extern void of_populate_present_mask(void);
extern void of_fill_in_cpu_data(void);

struct resource;
extern void __iomem *of_ioremap(struct resource *res, unsigned long offset, unsigned long size, char *name);
extern void of_iounmap(struct resource *res, void __iomem *base, unsigned long size);

/* These routines are here to provide compatibility with how powerpc
* handles IRQ mapping for OF device nodes. We precompute and permanently
* register them in the of_device objects, whereas powerpc computes them
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/of_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
*/
#define of_device platform_device
#include <linux/platform_device.h>
#include <linux/of_platform.h> /* temporary until merge */

#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 79e1ed1

Please sign in to comment.