Ignore:
Timestamp:
Jan 17, 2021, 7:58:38 AM (5 years ago)
Author:
Paul Smedley
Message:

Cleanup headers, fix warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-next/include/linux/device.h

    r625 r647  
    22#define _LINUX_DEVICE_H
    33
     4#include <linux/types.h>
    45#include <linux/kobject.h>
    56#include <linux/pm.h>
     
    4344};
    4445
    45 #ifndef STRUCT_DEVICE
    46 struct device_private;
    47 #define STRUCT_DEVICE
    4846typedef struct device {
    4947    struct pci_dev *pci;  /* for PCI and PCI-SG types */
     
    8684  struct device_node    *of_node; /* associated device tree node */
    8785} device;
    88 #endif
    8986
    9087static inline struct device *kobj_to_dev(struct kobject *kobj)
     
    113110};
    114111
    115 #if 0
    116112struct device_driver {
    117113        const char              *name;
     
    136132        struct driver_private *p;
    137133};
    138 #endif
    139134
    140135struct device_attribute {
Note: See TracChangeset for help on using the changeset viewer.