Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 112331
b: refs/heads/master
c: 8e6c81f
h: refs/heads/master
i:
  112329: 351f82c
  112327: 1266353
v: v3
  • Loading branch information
Andrew Victor authored and Russell King committed Oct 9, 2008
1 parent 8fb6b3d commit 29e5345
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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: 8d163b3fa52bb532a4d431c195352fcf356b4977
refs/heads/master: 8e6c81fe289e90b188203ec1db1dc2f3e992ebde
4 changes: 2 additions & 2 deletions trunk/arch/arm/mach-ks8695/include/mach/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
/* Platform-bus mapping */
extern struct bus_type platform_bus_type;
#define is_lbus_device(dev) (dev && dev->bus == &platform_bus_type)
#define __arch_dma_to_virt(dev, x) ({ is_lbus_device(dev) ? \
__phys_to_virt(x) : __bus_to_virt(x); })
#define __arch_dma_to_virt(dev, x) ({ (void *) (is_lbus_device(dev) ? \
__phys_to_virt(x) : __bus_to_virt(x)); })
#define __arch_virt_to_dma(dev, x) ({ is_lbus_device(dev) ? \
(dma_addr_t)__virt_to_phys(x) : (dma_addr_t)__virt_to_bus(x); })
#define __arch_page_to_dma(dev, x) __arch_virt_to_dma(dev, page_address(x))
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-ks8695/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ static struct pci_ops ks8695_pci_ops = {
.write = ks8695_pci_writeconfig,
};

static struct pci_bus *ks8695_pci_scan_bus(int nr, struct pci_sys_data *sys)
static struct pci_bus* __init ks8695_pci_scan_bus(int nr, struct pci_sys_data *sys)
{
return pci_scan_bus(sys->busnr, &ks8695_pci_ops, sys);
}
Expand Down

0 comments on commit 29e5345

Please sign in to comment.