linux/arch/sh/include/asm/device.h
<<
>>
Prefs
   1/*
   2 * Arch specific extensions to struct device
   3 *
   4 * This file is released under the GPLv2
   5 */
   6
   7struct dev_archdata {
   8};
   9
  10struct platform_device;
  11/* allocate contiguous memory chunk and fill in struct resource */
  12int platform_resource_setup_memory(struct platform_device *pdev,
  13                                   char *name, unsigned long memsize);
  14
  15void plat_early_device_setup(void);
  16
  17#define PDEV_ARCHDATA_FLAG_INIT 0
  18#define PDEV_ARCHDATA_FLAG_IDLE 1
  19#define PDEV_ARCHDATA_FLAG_SUSP 2
  20
  21struct pdev_archdata {
  22        int hwblk_id;
  23#ifdef CONFIG_PM_RUNTIME
  24        unsigned long flags;
  25        struct list_head entry;
  26        struct mutex mutex;
  27#endif
  28};
  29