diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/elf.h | 14 | ||||
-rw-r--r-- | include/linux/of.h | 1 | ||||
-rw-r--r-- | include/linux/pci_ids.h | 3 | ||||
-rw-r--r-- | include/linux/xilinxfb.h | 30 |
4 files changed, 41 insertions, 7 deletions
diff --git a/include/linux/elf.h b/include/linux/elf.h index 8b17ffe222c4..d2da84acf45d 100644 --- a/include/linux/elf.h +++ b/include/linux/elf.h | |||
@@ -389,12 +389,14 @@ extern Elf64_Dyn _DYNAMIC []; | |||
389 | 389 | ||
390 | #endif | 390 | #endif |
391 | 391 | ||
392 | /* Optional callbacks to write extra ELF notes. */ | ||
392 | #ifndef ARCH_HAVE_EXTRA_ELF_NOTES | 393 | #ifndef ARCH_HAVE_EXTRA_ELF_NOTES |
393 | static inline int arch_notes_size(void) { return 0; } | 394 | static inline int elf_coredump_extra_notes_size(void) { return 0; } |
394 | static inline void arch_write_notes(struct file *file) { } | 395 | static inline int elf_coredump_extra_notes_write(struct file *file, |
395 | 396 | loff_t *foffset) { return 0; } | |
396 | #define ELF_CORE_EXTRA_NOTES_SIZE arch_notes_size() | 397 | #else |
397 | #define ELF_CORE_WRITE_EXTRA_NOTES arch_write_notes(file) | 398 | extern int elf_coredump_extra_notes_size(void); |
398 | #endif /* ARCH_HAVE_EXTRA_ELF_NOTES */ | 399 | extern int elf_coredump_extra_notes_write(struct file *file, loff_t *foffset); |
400 | #endif | ||
399 | 401 | ||
400 | #endif /* _LINUX_ELF_H */ | 402 | #endif /* _LINUX_ELF_H */ |
diff --git a/include/linux/of.h b/include/linux/of.h index 47734ffd9745..6df80e985914 100644 --- a/include/linux/of.h +++ b/include/linux/of.h | |||
@@ -54,7 +54,6 @@ extern int of_device_is_compatible(const struct device_node *device, | |||
54 | extern const void *of_get_property(const struct device_node *node, | 54 | extern const void *of_get_property(const struct device_node *node, |
55 | const char *name, | 55 | const char *name, |
56 | int *lenp); | 56 | int *lenp); |
57 | #define get_property(a, b, c) of_get_property((a), (b), (c)) | ||
58 | extern int of_n_addr_cells(struct device_node *np); | 57 | extern int of_n_addr_cells(struct device_node *np); |
59 | extern int of_n_size_cells(struct device_node *np); | 58 | extern int of_n_size_cells(struct device_node *np); |
60 | 59 | ||
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 8acae4eeaa76..3948708c42ca 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h | |||
@@ -2113,8 +2113,11 @@ | |||
2113 | #define PCI_DEVICE_ID_MPC8533 0x0031 | 2113 | #define PCI_DEVICE_ID_MPC8533 0x0031 |
2114 | #define PCI_DEVICE_ID_MPC8544E 0x0032 | 2114 | #define PCI_DEVICE_ID_MPC8544E 0x0032 |
2115 | #define PCI_DEVICE_ID_MPC8544 0x0033 | 2115 | #define PCI_DEVICE_ID_MPC8544 0x0033 |
2116 | #define PCI_DEVICE_ID_MPC8572E 0x0040 | ||
2117 | #define PCI_DEVICE_ID_MPC8572 0x0041 | ||
2116 | #define PCI_DEVICE_ID_MPC8641 0x7010 | 2118 | #define PCI_DEVICE_ID_MPC8641 0x7010 |
2117 | #define PCI_DEVICE_ID_MPC8641D 0x7011 | 2119 | #define PCI_DEVICE_ID_MPC8641D 0x7011 |
2120 | #define PCI_DEVICE_ID_MPC8610 0x7018 | ||
2118 | 2121 | ||
2119 | #define PCI_VENDOR_ID_PASEMI 0x1959 | 2122 | #define PCI_VENDOR_ID_PASEMI 0x1959 |
2120 | 2123 | ||
diff --git a/include/linux/xilinxfb.h b/include/linux/xilinxfb.h new file mode 100644 index 000000000000..f2463f559fb9 --- /dev/null +++ b/include/linux/xilinxfb.h | |||
@@ -0,0 +1,30 @@ | |||
1 | /* | ||
2 | * Platform device data for Xilinx Framebuffer device | ||
3 | * | ||
4 | * Copyright 2007 Secret Lab Technologies Ltd. | ||
5 | * | ||
6 | * This file is licensed under the terms of the GNU General Public License | ||
7 | * version 2. This program is licensed "as is" without any warranty of any | ||
8 | * kind, whether express or implied. | ||
9 | */ | ||
10 | |||
11 | #ifndef __XILINXFB_H__ | ||
12 | #define __XILINXFB_H__ | ||
13 | |||
14 | #include <linux/types.h> | ||
15 | |||
16 | /* ML300/403 reference design framebuffer driver platform data struct */ | ||
17 | struct xilinxfb_platform_data { | ||
18 | u32 rotate_screen; /* Flag to rotate display 180 degrees */ | ||
19 | u32 screen_height_mm; /* Physical dimentions of screen in mm */ | ||
20 | u32 screen_width_mm; | ||
21 | u32 xres, yres; /* resolution of screen in pixels */ | ||
22 | u32 xvirt, yvirt; /* resolution of memory buffer */ | ||
23 | |||
24 | /* Physical address of framebuffer memory; If non-zero, driver | ||
25 | * will use provided memory address instead of allocating one from | ||
26 | * the consistent pool. */ | ||
27 | u32 fb_phys; | ||
28 | }; | ||
29 | |||
30 | #endif /* __XILINXFB_H__ */ | ||