/arch/sh/include/asm/device.h

http://github.com/mirrors/linux · C Header · 17 lines · 8 code · 4 blank · 5 comment · 0 complexity · 17f94f9c000766b0ae7b72660da12066 MD5 · raw file

  1. /* SPDX-License-Identifier: GPL-2.0
  2. *
  3. * Arch specific extensions to struct device
  4. */
  5. #ifndef __ASM_SH_DEVICE_H
  6. #define __ASM_SH_DEVICE_H
  7. #include <asm-generic/device.h>
  8. struct platform_device;
  9. /* allocate contiguous memory chunk and fill in struct resource */
  10. int platform_resource_setup_memory(struct platform_device *pdev,
  11. char *name, unsigned long memsize);
  12. void plat_early_device_setup(void);
  13. #endif /* __ASM_SH_DEVICE_H */