diff options
author | Alan Cox <alan@linux.intel.com> | 2012-05-11 06:33:03 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-05-11 12:36:01 -0400 |
commit | 9c0b6fcdc9faee5cdd8cce0cf83c423ab5c4ed20 (patch) | |
tree | 77ea5761761f6d1145b073ca597bdbf9cca642c0 /drivers/gpu/drm/gma500/mdfld_device.c | |
parent | 9aa65a2b9de1b46fcf3a7a623de231663802671d (diff) |
gma500: clean up some more checks
We don't need to check these - they are always going to be the
same for any PVR based device.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/gma500/mdfld_device.c')
-rw-r--r-- | drivers/gpu/drm/gma500/mdfld_device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/mdfld_device.c b/drivers/gpu/drm/gma500/mdfld_device.c index 393a0e15d5de..2d8e741e06d7 100644 --- a/drivers/gpu/drm/gma500/mdfld_device.c +++ b/drivers/gpu/drm/gma500/mdfld_device.c | |||
@@ -518,6 +518,8 @@ static const struct psb_offset mdfld_regmap[3] = { | |||
518 | static int mdfld_chip_setup(struct drm_device *dev) | 518 | static int mdfld_chip_setup(struct drm_device *dev) |
519 | { | 519 | { |
520 | struct drm_psb_private *dev_priv = dev->dev_private; | 520 | struct drm_psb_private *dev_priv = dev->dev_private; |
521 | if (pci_enable_msi(dev->pdev)) | ||
522 | dev_warn(dev->dev, "Enabling MSI failed!\n"); | ||
521 | dev_priv->regmap = mdfld_regmap; | 523 | dev_priv->regmap = mdfld_regmap; |
522 | return mid_chip_setup(dev); | 524 | return mid_chip_setup(dev); |
523 | } | 525 | } |