Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
arch
arm
mach-ux500
devices.c
Go to the documentation of this file.
1
/*
2
* Copyright (C) ST-Ericsson SA 2010
3
*
4
* Author: Rabin Vincent <
[email protected]
> for ST-Ericsson
5
* License terms: GNU General Public License (GPL) version 2
6
*/
7
8
#include <linux/kernel.h>
9
#include <
linux/platform_device.h
>
10
#include <
linux/interrupt.h
>
11
#include <
linux/io.h
>
12
#include <
linux/amba/bus.h
>
13
14
#include <mach/hardware.h>
15
#include <
mach/setup.h
>
16
17
void
__init
amba_add_devices
(
struct
amba_device
*devs[],
int
num)
18
{
19
int
i
;
20
21
for
(i = 0; i < num; i++) {
22
struct
amba_device
*
d
= devs[
i
];
23
amba_device_register
(d, &
iomem_resource
);
24
}
25
}
Generated on Thu Jan 10 2013 12:58:15 for Linux Kernel by
1.8.2