Root/
1 | /* |
2 | * include/linux/firmware-map.h: |
3 | * Copyright (C) 2008 SUSE LINUX Products GmbH |
4 | * by Bernhard Walle <bernhard.walle@gmx.de> |
5 | * |
6 | * This program is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License v2.0 as published by |
8 | * the Free Software Foundation |
9 | * |
10 | * This program is distributed in the hope that it will be useful, |
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | * GNU General Public License for more details. |
14 | * |
15 | */ |
16 | #ifndef _LINUX_FIRMWARE_MAP_H |
17 | #define _LINUX_FIRMWARE_MAP_H |
18 | |
19 | #include <linux/list.h> |
20 | |
21 | /* |
22 | * provide a dummy interface if CONFIG_FIRMWARE_MEMMAP is disabled |
23 | */ |
24 | #ifdef CONFIG_FIRMWARE_MEMMAP |
25 | |
26 | int firmware_map_add_early(u64 start, u64 end, const char *type); |
27 | int firmware_map_add_hotplug(u64 start, u64 end, const char *type); |
28 | int firmware_map_remove(u64 start, u64 end, const char *type); |
29 | |
30 | #else /* CONFIG_FIRMWARE_MEMMAP */ |
31 | |
32 | static inline int firmware_map_add_early(u64 start, u64 end, const char *type) |
33 | { |
34 | return 0; |
35 | } |
36 | |
37 | static inline int firmware_map_add_hotplug(u64 start, u64 end, const char *type) |
38 | { |
39 | return 0; |
40 | } |
41 | |
42 | static inline int firmware_map_remove(u64 start, u64 end, const char *type) |
43 | { |
44 | return 0; |
45 | } |
46 | |
47 | #endif /* CONFIG_FIRMWARE_MEMMAP */ |
48 | |
49 | #endif /* _LINUX_FIRMWARE_MAP_H */ |
50 |
Branches:
ben-wpan
ben-wpan-stefan
javiroman/ks7010
jz-2.6.34
jz-2.6.34-rc5
jz-2.6.34-rc6
jz-2.6.34-rc7
jz-2.6.35
jz-2.6.36
jz-2.6.37
jz-2.6.38
jz-2.6.39
jz-3.0
jz-3.1
jz-3.11
jz-3.12
jz-3.13
jz-3.15
jz-3.16
jz-3.18-dt
jz-3.2
jz-3.3
jz-3.4
jz-3.5
jz-3.6
jz-3.6-rc2-pwm
jz-3.9
jz-3.9-clk
jz-3.9-rc8
jz47xx
jz47xx-2.6.38
master
Tags:
od-2011-09-04
od-2011-09-18
v2.6.34-rc5
v2.6.34-rc6
v2.6.34-rc7
v3.9