diff options
author | Dave Airlie <airlied@linux.ie> | 2004-04-21 12:13:31 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2004-04-21 12:13:31 +0000 |
commit | 93bd67ef62e95a32f8b7e2fd7d9dadee52664160 (patch) | |
tree | 529b54bcdcfd364d6bc25cabf38999b465dadd80 /linux/drmP.h | |
parent | 0f32a8852712e405f64c5917bcebefc441aa1ba3 (diff) |
centralise pci ids into one place and use scripts to generate files for
kernel
Diffstat (limited to 'linux/drmP.h')
-rw-r--r-- | linux/drmP.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/linux/drmP.h b/linux/drmP.h index 09556b89..e30dd6d9 100644 --- a/linux/drmP.h +++ b/linux/drmP.h @@ -255,6 +255,10 @@ static inline void class_simple_destroy(struct class_simple *cs){}; static inline struct class_simple *class_simple_create(struct module *owner, char *name) { return NULL; } +#ifndef pci_pretty_name +#define pci_pretty_name(x) x->name +#endif + #endif #ifndef REMAP_PAGE_RANGE_5_ARGS @@ -423,14 +427,6 @@ do { \ typedef int drm_ioctl_t( struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg ); -typedef struct drm_pci_id_list -{ - int vendor; - int device; - long driver_private; - char *name; -} drm_pci_id_list_t; - typedef struct drm_ioctl_desc { drm_ioctl_t *func; int auth_needed; |