mirror of https://github.com/torvalds/linux.git
It is necessary to set array of struct platform_device in early_platform_add_devices(). arch/sh/kernel/cpu/sh4/setup-sh7750.c: In function ‘plat_early_device_setup’: arch/sh/kernel/cpu/sh4/setup-sh7750.c:260: warning: passing argument 1 of ‘early_platform_add_devices’ from incompatible pointer type include/linux/platform_device.h:159: note: expected ‘struct platform_device **’ but argument is of type ‘struct platform_device *’ arch/sh/kernel/cpu/sh4/setup-sh7750.c:262: warning: passing argument 1 of ‘early_platform_add_devices’ from incompatible pointer type include/linux/platform_device.h:159: note: expected ‘struct platform_device **’ but argument is of type ‘struct platform_device *’ arch/sh/kernel/cpu/sh4/setup-sh7750.c:263: warning: passing argument 1 of ‘early_platform_add_devices’ from incompatible pointer type include/linux/platform_device.h:159: note: expected ‘struct platform_device **’ but argument is of type ‘struct platform_device *’ Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org> |
||
|---|---|---|
| .. | ||
| cpu | ||
| vsyscall | ||
| .gitignore | ||
| Makefile | ||
| asm-offsets.c | ||
| cpufreq.c | ||
| crash_dump.c | ||
| debugtraps.S | ||
| disassemble.c | ||
| dma-nommu.c | ||
| dumpstack.c | ||
| dwarf.c | ||
| entry-common.S | ||
| ftrace.c | ||
| head_32.S | ||
| head_64.S | ||
| hw_breakpoint.c | ||
| idle.c | ||
| init_task.c | ||
| io.c | ||
| io_trapped.c | ||
| iomap.c | ||
| ioport.c | ||
| irq.c | ||
| irq_32.c | ||
| irq_64.c | ||
| kdebugfs.c | ||
| kgdb.c | ||
| kprobes.c | ||
| localtimer.c | ||
| machine_kexec.c | ||
| machvec.c | ||
| module.c | ||
| nmi_debug.c | ||
| perf_callchain.c | ||
| perf_event.c | ||
| process.c | ||
| process_32.c | ||
| process_64.c | ||
| ptrace.c | ||
| ptrace_32.c | ||
| ptrace_64.c | ||
| reboot.c | ||
| relocate_kernel.S | ||
| return_address.c | ||
| setup.c | ||
| sh_bios.c | ||
| sh_ksyms_32.c | ||
| sh_ksyms_64.c | ||
| signal_32.c | ||
| signal_64.c | ||
| smp.c | ||
| stacktrace.c | ||
| swsusp.c | ||
| sys_sh.c | ||
| sys_sh32.c | ||
| sys_sh64.c | ||
| syscalls_32.S | ||
| syscalls_64.S | ||
| time.c | ||
| topology.c | ||
| traps.c | ||
| traps_32.c | ||
| traps_64.c | ||
| unwinder.c | ||
| vmlinux.lds.S | ||