device.h 366 B

1234567891011121314
  1. /*
  2. * Arch specific extensions to struct device
  3. *
  4. * This file is released under the GPLv2
  5. */
  6. #include <asm-generic/device.h>
  7. struct platform_device;
  8. /* allocate contiguous memory chunk and fill in struct resource */
  9. int platform_resource_setup_memory(struct platform_device *pdev,
  10. char *name, unsigned long memsize);
  11. void plat_early_device_setup(void);