diff options
author | Jonathan Corbet <corbet@lwn.net> | 2010-05-05 14:44:55 -0600 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2010-05-11 16:07:59 -0600 |
commit | ec66841e495b9ab4f92bdf91efe8cf56e1471fbd (patch) | |
tree | aee3762a85c20c87858bdcc5e3d2143dcec47058 | |
parent | 9221fc6556d6fa14b5c61050dd87e26fc4ad255c (diff) | |
download | op-kernel-dev-ec66841e495b9ab4f92bdf91efe8cf56e1471fbd.zip op-kernel-dev-ec66841e495b9ab4f92bdf91efe8cf56e1471fbd.tar.gz |
viafb: move some include files to include/linux
These are the files which should be available to subdevices compiled
outside of drivers/video/via.
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>
-rw-r--r-- | drivers/video/via/accel.c | 2 | ||||
-rw-r--r-- | drivers/video/via/dvi.c | 4 | ||||
-rw-r--r-- | drivers/video/via/hw.c | 3 | ||||
-rw-r--r-- | drivers/video/via/lcd.c | 4 | ||||
-rw-r--r-- | drivers/video/via/via-core.c | 6 | ||||
-rw-r--r-- | drivers/video/via/via-gpio.c | 4 | ||||
-rw-r--r-- | drivers/video/via/via_i2c.c | 4 | ||||
-rw-r--r-- | drivers/video/via/via_modesetting.c | 2 | ||||
-rw-r--r-- | drivers/video/via/via_utility.c | 2 | ||||
-rw-r--r-- | drivers/video/via/viafbdev.c | 4 | ||||
-rw-r--r-- | drivers/video/via/viamode.c | 2 | ||||
-rw-r--r-- | drivers/video/via/vt1636.c | 4 | ||||
-rw-r--r-- | include/linux/via-core.h (renamed from drivers/video/via/via-core.h) | 0 | ||||
-rw-r--r-- | include/linux/via-gpio.h (renamed from drivers/video/via/via-gpio.h) | 0 | ||||
-rw-r--r-- | include/linux/via_i2c.h (renamed from drivers/video/via/via_i2c.h) | 0 |
15 files changed, 21 insertions, 20 deletions
diff --git a/drivers/video/via/accel.c b/drivers/video/via/accel.c index 189aba4..e44893e 100644 --- a/drivers/video/via/accel.c +++ b/drivers/video/via/accel.c @@ -18,7 +18,7 @@ * Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "via-core.h" +#include <linux/via-core.h> #include "global.h" /* diff --git a/drivers/video/via/dvi.c b/drivers/video/via/dvi.c index 6271b76..39b040b 100644 --- a/drivers/video/via/dvi.c +++ b/drivers/video/via/dvi.c @@ -18,8 +18,8 @@ * Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "via-core.h" -#include "via_i2c.h" +#include <linux/via-core.h> +#include <linux/via_i2c.h> #include "global.h" static void tmds_register_write(int index, u8 data); diff --git a/drivers/video/via/hw.c b/drivers/video/via/hw.c index e356fe8..b996803 100644 --- a/drivers/video/via/hw.c +++ b/drivers/video/via/hw.c @@ -18,7 +18,8 @@ * Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "via-core.h" + +#include <linux/via-core.h> #include "global.h" static struct pll_map pll_value[] = { diff --git a/drivers/video/via/lcd.c b/drivers/video/via/lcd.c index 04eec31..2ab0f15 100644 --- a/drivers/video/via/lcd.c +++ b/drivers/video/via/lcd.c @@ -18,8 +18,8 @@ * Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "via-core.h" -#include "via_i2c.h" +#include <linux/via-core.h> +#include <linux/via_i2c.h> #include "global.h" #include "lcdtbl.h" diff --git a/drivers/video/via/via-core.c b/drivers/video/via/via-core.c index 188c002..e8cfe83 100644 --- a/drivers/video/via/via-core.c +++ b/drivers/video/via/via-core.c @@ -7,9 +7,9 @@ /* * Core code for the Via multifunction framebuffer device. */ -#include "via-core.h" -#include "via_i2c.h" -#include "via-gpio.h" +#include <linux/via-core.h> +#include <linux/via_i2c.h> +#include <linux/via-gpio.h> #include "global.h" #include <linux/module.h> diff --git a/drivers/video/via/via-gpio.c b/drivers/video/via/via-gpio.c index 67d699c..595516a 100644 --- a/drivers/video/via/via-gpio.c +++ b/drivers/video/via/via-gpio.c @@ -8,8 +8,8 @@ #include <linux/spinlock.h> #include <linux/gpio.h> #include <linux/platform_device.h> -#include "via-core.h" -#include "via-gpio.h" +#include <linux/via-core.h> +#include <linux/via-gpio.h> /* * The ports we know about. Note that the port-25 gpios are not diff --git a/drivers/video/via/via_i2c.c b/drivers/video/via/via_i2c.c index 2291765..da9e4ca 100644 --- a/drivers/video/via/via_i2c.c +++ b/drivers/video/via/via_i2c.c @@ -23,8 +23,8 @@ #include <linux/delay.h> #include <linux/spinlock.h> #include <linux/module.h> -#include "via-core.h" -#include "via_i2c.h" +#include <linux/via-core.h> +#include <linux/via_i2c.h> /* * There can only be one set of these, so there's no point in having diff --git a/drivers/video/via/via_modesetting.c b/drivers/video/via/via_modesetting.c index b4e735c..3cddcff 100644 --- a/drivers/video/via/via_modesetting.c +++ b/drivers/video/via/via_modesetting.c @@ -24,8 +24,8 @@ */ #include <linux/kernel.h> +#include <linux/via-core.h> #include "via_modesetting.h" -#include "via-core.h" #include "share.h" #include "debug.h" diff --git a/drivers/video/via/via_utility.c b/drivers/video/via/via_utility.c index 5757031..d05ccb6 100644 --- a/drivers/video/via/via_utility.c +++ b/drivers/video/via/via_utility.c @@ -19,7 +19,7 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "via-core.h" +#include <linux/via-core.h> #include "global.h" void viafb_get_device_support_state(u32 *support_state) diff --git a/drivers/video/via/viafbdev.c b/drivers/video/via/viafbdev.c index 3d03318..d3dd2eb 100644 --- a/drivers/video/via/viafbdev.c +++ b/drivers/video/via/viafbdev.c @@ -22,9 +22,9 @@ #include <linux/module.h> #include <linux/seq_file.h> #include <linux/stat.h> -#define _MASTER_FILE +#include <linux/via-core.h> -#include "via-core.h" +#define _MASTER_FILE #include "global.h" static char *viafb_name = "Via"; diff --git a/drivers/video/via/viamode.c b/drivers/video/via/viamode.c index 2fdb9e6..2dbad3c 100644 --- a/drivers/video/via/viamode.c +++ b/drivers/video/via/viamode.c @@ -19,7 +19,7 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "via-core.h" +#include <linux/via-core.h> #include "global.h" struct res_map_refresh res_map_refresh_tbl[] = { /*hres, vres, vclock, vmode_refresh*/ diff --git a/drivers/video/via/vt1636.c b/drivers/video/via/vt1636.c index e5f8024..d65bf1a 100644 --- a/drivers/video/via/vt1636.c +++ b/drivers/video/via/vt1636.c @@ -19,8 +19,8 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "via-core.h" -#include "via_i2c.h" +#include <linux/via-core.h> +#include <linux/via_i2c.h> #include "global.h" u8 viafb_gpio_i2c_read_lvds(struct lvds_setting_information diff --git a/drivers/video/via/via-core.h b/include/linux/via-core.h index 7ffb521..7ffb521 100644 --- a/drivers/video/via/via-core.h +++ b/include/linux/via-core.h diff --git a/drivers/video/via/via-gpio.h b/include/linux/via-gpio.h index 8281aea..8281aea 100644 --- a/drivers/video/via/via-gpio.h +++ b/include/linux/via-gpio.h diff --git a/drivers/video/via/via_i2c.h b/include/linux/via_i2c.h index 44532e4..44532e4 100644 --- a/drivers/video/via/via_i2c.h +++ b/include/linux/via_i2c.h |