device.h 450 B

12345678910111213141516171819
  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. #include <asm-generic/device.h>
  9. struct platform_device;
  10. /* allocate contiguous memory chunk and fill in struct resource */
  11. int platform_resource_setup_memory(struct platform_device *pdev,
  12. char *name, unsigned long memsize);
  13. void plat_early_device_setup(void);
  14. #endif /* __ASM_SH_DEVICE_H */