nouveau: fix IGP
parent
22883ff26b
commit
9a115080e8
|
@ -223,7 +223,7 @@ void nouveau_mem_close(struct drm_device *dev)
|
|||
static uint32_t
|
||||
nouveau_mem_fb_amount_igp(struct drm_device *dev)
|
||||
{
|
||||
#if defined(LINUX) && (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19))
|
||||
#if defined(__linux__) && (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19))
|
||||
struct drm_nouveau_private *dev_priv = dev->dev_private;
|
||||
struct pci_dev *bridge;
|
||||
uint32_t mem;
|
||||
|
|
Loading…
Reference in New Issue