drm-gem: Fix build

On some distros missing prototypes cause kernel builds to fail.  These
are hack to make the code build.
main
Ian Romanick 2008-07-18 12:42:43 -07:00
parent f5c2f00e2f
commit 4d83a751b4
2 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,7 @@
#include "drm_compat.h"
#include "i915_drm.h"
#include "i915_drv.h"
#include <linux/swap.h>
#define WATCH_COHERENCY 0
#define WATCH_BUF 0

View File

@ -30,6 +30,9 @@
#include "i915_drm.h"
#include "i915_drv.h"
extern int pci_read_base(struct pci_dev *dev, unsigned int reg,
struct resource *res);
/** @file i915_gem_tiling.c
*
* Support for managing tiling state of buffer objects.