intel-gtt: i830: adjust ioremap of regs and gtt to i9xx
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 28 Aug 2010 22:15:03 +0000 (00:15 +0200)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Sep 2010 20:20:16 +0000 (21:20 +0100)
commitfdfb58a965486d2afea4ef0f9b8153dab9b98b2e
treea67a1feac243119c776344f5cac582269f018578
parent210b23c2f7b9721afb0a57459b7dbac3b094862e
intel-gtt: i830: adjust ioremap of regs and gtt to i9xx

This way around this can be extracted into common code.

Also use a common cleanup function (and give it a generic name).

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/char/agp/intel-gtt.c