git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SERIAL] Use an enum for serial8250 platform device IDs
[pandora-kernel.git]
/
arch
/
ppc64
/
kernel
/
setup.c
diff --git
a/arch/ppc64/kernel/setup.c
b/arch/ppc64/kernel/setup.c
index
d0bb68a
..
bfa8791
100644
(file)
--- a/
arch/ppc64/kernel/setup.c
+++ b/
arch/ppc64/kernel/setup.c
@@
-1283,7
+1283,7
@@
void __init generic_find_legacy_serial_ports(u64 *physport,
static struct platform_device serial_device = {
.name = "serial8250",
- .id =
0
,
+ .id =
PLAT8250_DEV_PLATFORM
,
.dev = {
.platform_data = serial_ports,
},