Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9887
b: refs/heads/master
c: cb38c56
h: refs/heads/master
i:
  9885: f0050de
  9883: c58f22e
  9879: c01435f
  9871: 6e68d10
  9855: 14e2bbf
v: v3
  • Loading branch information
Richard Purdie authored and Russell King committed Oct 14, 2005
1 parent bbec70b commit 5dfa2c0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 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: cb90d681ae439e525de9de519508ac9041342321
refs/heads/master: cb38c569e5ecf9e922e66963b6da2751b4f13d81
5 changes: 5 additions & 0 deletions trunk/arch/arm/mach-pxa/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,11 @@ static struct platform_device pxafb_device = {
.resource = pxafb_resources,
};

void __init set_pxa_fb_parent(struct device *parent_dev)
{
pxafb_device.dev.parent = parent_dev;
}

static struct platform_device ffuart_device = {
.name = "pxa2xx-uart",
.id = 0,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-pxa/spitz.c
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ static void __init common_init(void)

platform_add_devices(devices, ARRAY_SIZE(devices));
pxa_set_mci_info(&spitz_mci_platform_data);
pxafb_device.dev.parent = &spitzssp_device.dev;
set_pxa_fb_parent(&spitzssp_device.dev);
set_pxa_fb_info(&spitz_pxafb_info);
}

Expand Down
1 change: 1 addition & 0 deletions trunk/include/asm-arm/arch-pxa/pxafb.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,5 @@ struct pxafb_mach_info {

};
void set_pxa_fb_info(struct pxafb_mach_info *hard_pxa_fb_info);
void set_pxa_fb_parent(struct device *parent_dev);
unsigned long pxafb_get_hsync_time(struct device *dev);

0 comments on commit 5dfa2c0

Please sign in to comment.