drm/i915: fix modeset devname allocation + agp init return check.
authorDave Airlie <airlied@linux.ie>
Mon, 29 Dec 2008 06:35:02 +0000 (16:35 +1000)
committerDave Airlie <airlied@linux.ie>
Mon, 29 Dec 2008 08:18:19 +0000 (18:18 +1000)
devname needs to be allocated before the irq is installed, so the
irq routines get the correct name in /proc.

Also check the return value from the AGP init function, and
fixup the exit points.

Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found