diff options
author | Dave Airlie <airlied@linux.ie> | 2007-11-15 15:04:19 +1100 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-11-15 15:04:19 +1100 |
commit | f0fe478c1587780690edc465d957a762e02acc8a (patch) | |
tree | de129251264e7c4fa5c8c7119583dc18af9a3fab /linux-core/drm_sysfs.c | |
parent | e1bc147ac9aa8ac2ac271b0a21f4138b17875ce5 (diff) | |
parent | 62cdc6dbb3545d21bc3a68987d0781f277ae6ee4 (diff) |
Merge branch 'master' into modesetting-101
Conflicts:
shared-core/i915_dma.c
tests/ttmtest/src/ttmtest.c
Diffstat (limited to 'linux-core/drm_sysfs.c')
-rw-r--r-- | linux-core/drm_sysfs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-core/drm_sysfs.c b/linux-core/drm_sysfs.c index 6f8623ce..caec120a 100644 --- a/linux-core/drm_sysfs.c +++ b/linux-core/drm_sysfs.c @@ -89,8 +89,10 @@ struct class *drm_sysfs_create(struct module *owner, char *name) goto err_out; } +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22)) class->suspend = drm_sysfs_suspend; class->resume = drm_sysfs_resume; +#endif err = class_create_file(class, &class_attr_version); if (err) |