Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 138992
b: refs/heads/master
c: c972d75
h: refs/heads/master
v: v3
  • Loading branch information
Richard Kennedy authored and Dave Airlie committed Mar 29, 2009
1 parent 6fb7562 commit 01b2316
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 40fc6eab599d0087a75fc77eaaf04d769b667f6d
refs/heads/master: c972d750e4fa3bfee6e7d3635729bf8c9cbb8f0a
6 changes: 3 additions & 3 deletions trunk/include/drm/drmP.h
Original file line number Diff line number Diff line change
Expand Up @@ -281,16 +281,16 @@ typedef int drm_ioctl_compat_t(struct file *filp, unsigned int cmd,

struct drm_ioctl_desc {
unsigned int cmd;
drm_ioctl_t *func;
int flags;
drm_ioctl_t *func;
};

/**
* Creates a driver or general drm_ioctl_desc array entry for the given
* ioctl, for use by drm_ioctl().
*/
#define DRM_IOCTL_DEF(ioctl, func, flags) \
[DRM_IOCTL_NR(ioctl)] = {ioctl, func, flags}
#define DRM_IOCTL_DEF(ioctl, _func, _flags) \
[DRM_IOCTL_NR(ioctl)] = {.cmd = ioctl, .func = _func, .flags = _flags}

struct drm_magic_entry {
struct list_head head;
Expand Down

0 comments on commit 01b2316

Please sign in to comment.