/* * Copyright (C) 2005 Russell King. * Data taken from include/asm-i386/serial.h * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #include #include #include #define HUB6(card, port) \ { \ .iobase = 0x302, \ .irq = 3, \ .uartclk = 1843200, \ .iotype = UPIO_HUB6, \ .flags = UPF_BOOT_AUTOCONF, \ .hub6 = (card) << 6 | (port) << 3 | 1, \ } static struct plat_serial8250_port hub6_data[] = { HUB6(0, 0), HUB6(0, 1), HUB6(0, 2), HUB6(0, 3), HUB6(0, 4), HUB6(0, 5), HUB6(1, 0), HUB6(1, 1), HUB6(1, 2), HUB6(1, 3), HUB6(1, 4), HUB6(1, 5), { }, }; static struct platform_device hub6_device = { .name = "serial8250", .id = PLAT8250_DEV_HUB6, .dev = { .platform_data = hub6_data, }, }; static int __init hub6_init(void) { return platform_device_register(&hub6_device); } module_init(hub6_init); MODULE_AUTHOR("Russell King"); MODULE_DESCRIPTION("8250 serial probe module for Hub6 cards"); MODULE_LICENSE("GPL"); ck'>packet-rx-pump-back net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
ad86a66f2bdcb12b4c10ab1bf333ed25ec'>events/power.h
diff options
AgeCommit message (Expand)AuthorFilesLines
context:
space:
mode:
authorRoger Shimizu <rogershimizu@gmail.com>2017-01-30 20:07:29 +0900
committerGregory CLEMENT <gregory.clement@free-electrons.com>2017-01-31 12:19:32 +0100
commit81917bad86a66f2bdcb12b4c10ab1bf333ed25ec (patch)
tree3d56cb771fc5f0a37412e62f99aacc6d21a646c0 /include/trace/events/power.h
parent0c744ea4f77d72b3dcebb7a8f2684633ec79be88 (diff)
ARM: dts: orion5x-lschl: Fix model name
Model name should be consistent with legacy device file, so that user can migrate their system from legacy device support to device-tree safely. Legacy device file is currently removed, but it can be found on 4.8 or previous version of linux: arch/arm/mach-orion5x/ls-chl-setup.c Fixes: f94f268979a2 ("ARM: dts: orion5x: convert ls-chl to FDT") Cc: Ashley Hughes <ashley.hughes@blueyonder.co.uk> Signed-off-by: Roger Shimizu <rogershimizu@gmail.com> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Diffstat (limited to 'include/trace/events/power.h')