viafb: Move core stuff into via-core.c
commitf045f77bc0bf238a871b10bea9e425329a8e4abc
authorJonathan Corbet <corbet@lwn.net>
Wed, 2 Dec 2009 03:29:39 +0000 (1 20:29 -0700)
committerJonathan Corbet <corbet@lwn.net>
Fri, 7 May 2010 23:15:47 +0000 (7 17:15 -0600)
tree085c6651bc6f4d47f4b4659fa4ef4134fe40733f
parent4da62e6c6e056d709e5dc04ac7c5e81692cf924f
viafb: Move core stuff into via-core.c

The first step toward turning viafb into a multifunction driver.  This
patch creates a new via-core.c file which serves as the main PCI driver;
everything else comes below that.  Some work has been done to rationalize
the i2c drivers in this new scheme.

Cc: ScottFang@viatech.com.cn
Cc: JosephChan@via.com.tw
Cc: Harald Welte <laforge@gnumonks.org>
Acked-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
drivers/video/via/Makefile
drivers/video/via/dvi.c
drivers/video/via/global.h
drivers/video/via/lcd.c
drivers/video/via/via-core.c [new file with mode: 0644]
drivers/video/via/via-core.h [copied from drivers/video/via/via_i2c.h with 52% similarity]
drivers/video/via/via_i2c.c
drivers/video/via/via_i2c.h
drivers/video/via/viafbdev.c
drivers/video/via/viafbdev.h