Download Linux Kernel and Driver Development Training Linux Kernel and
Transcript
Platform device instantiation 2/2
I
The device is part of a list
static struct platform_device *devices[] __initdata = {
&cs89x0_device,
&imx_uart1_device,
&imx_uart2_device,
};
I
And the list of devices is added to the system during board
initialization
static void __init mx1ads_init(void)
{
[...]
platform_add_devices(devices, ARRAY_SIZE(devices));
}
MACHINE_START(MX1ADS, "Freescale MX1ADS")
[...]
.init_machine = mx1ads_init,
MACHINE_END
Free Electrons. Kernel, drivers and embedded Linux development, consulting, training and support. http://free-electrons.com
345/496
Related documents
Linux Kernel and Driver Development Training
Linux Kernel and Android Development Class Linux
Documento PDF - Università degli Studi di Padova
DNT MemoPen Data Specifications
The UPS Howto
Workshop on Computer Architecture Education
1MA268_e_IVINET_Drivers
21F075P90 E1 Linux User Guide
Root File-System for Raspberry Pi
maK_it: Linux Rootkit
WS3 – Developing Drivers for Altera SoC
Lightweight RTAI for IA-32 (revised version)
AVerMedia Game Capture HD
Underwriters Laboratories S600 Series Installation manual
Verex Monitor ISM Specifications
« Librairie Informatique »
AVerMedia Game Capture HD II
Avermedia C281 User manual
POK User Guide