viafb: use proper pci config API
authorHarald Welte <laforge@gnumonks.org>
Tue, 19 May 2009 07:50:58 +0000 (15:50 +0800)
committerJonathan Corbet <corbet@lwn.net>
Tue, 20 Apr 2010 20:23:18 +0000 (14:23 -0600)
commitb72a5070c74f5ca9a45a03c2d625daab66d0a820
treef388d41f100b0c4a3b7ef6c41066201f8f9ed895
parent109771a68bedda77606500dc14455eca92df6769
viafb: use proper pci config API

This patch alters viafb to use the proper Linux in-kernel API to access
PCI configuration space, rather than poking at I/O ports by itself.

Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: ScottFang@viatech.com.cn
Cc: JosephChan@via.com.tw
Signed-off-by: Harald Welte <HaraldWelte@viatech.com>
drivers/video/via/hw.c
drivers/video/via/hw.h
drivers/video/via/viafbdev.c