Linux Audio

Check our new training course

Loading...
v3.5.6
 1/*
 2 * Arch specific extensions to struct device
 3 *
 4 * This file is released under the GPLv2
 5 */
 6#ifndef __ASM_SH_DEVICE_H
 7#define __ASM_SH_DEVICE_H
 8
 9#include <asm-generic/device.h>
10
11struct platform_device;
12/* allocate contiguous memory chunk and fill in struct resource */
13int platform_resource_setup_memory(struct platform_device *pdev,
14				   char *name, unsigned long memsize);
15
16void plat_early_device_setup(void);
17
18#endif /* __ASM_SH_DEVICE_H */
v4.6
 1/*
 2 * Arch specific extensions to struct device
 3 *
 4 * This file is released under the GPLv2
 5 */
 6#ifndef __ASM_SH_DEVICE_H
 7#define __ASM_SH_DEVICE_H
 8
 9#include <asm-generic/device.h>
10
11struct platform_device;
12/* allocate contiguous memory chunk and fill in struct resource */
13int platform_resource_setup_memory(struct platform_device *pdev,
14				   char *name, unsigned long memsize);
15
16void plat_early_device_setup(void);
17
18#endif /* __ASM_SH_DEVICE_H */