aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_state.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_state.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c
index 4fcbd091a117..5bb2859001e2 100644
--- a/drivers/gpu/drm/nouveau/nouveau_state.c
+++ b/drivers/gpu/drm/nouveau/nouveau_state.c
@@ -963,7 +963,7 @@ int nouveau_load(struct drm_device *dev, unsigned long flags)
963 if (ret) 963 if (ret)
964 goto err_mmio; 964 goto err_mmio;
965 965
966 /* Map PRAMIN BAR, or on older cards, the aperture withing BAR0 */ 966 /* Map PRAMIN BAR, or on older cards, the aperture within BAR0 */
967 if (dev_priv->card_type >= NV_40) { 967 if (dev_priv->card_type >= NV_40) {
968 int ramin_bar = 2; 968 int ramin_bar = 2;
969 if (pci_resource_len(dev->pdev, ramin_bar) == 0) 969 if (pci_resource_len(dev->pdev, ramin_bar) == 0)