skeletonfb.c (45598fd4e2897306ed5006e6a80b0460c3079bbd) skeletonfb.c (6a7d270e901965b0f8643db885cdc2e6e93b8621)
1/*
2 * linux/drivers/video/skeletonfb.c -- Skeleton for a frame buffer device
3 *
4 * Modified to new api Jan 2001 by James Simmons (jsimmons@transvirtual.com)
5 *
6 * Created 28 Dec 1997 by Geert Uytterhoeven
7 *
8 *

--- 117 unchanged lines hidden (view full) ---

126static struct fb_info info;
127
128 /*
129 * Each one represents the state of the hardware. Most hardware have
130 * just one hardware state. These here represent the default state(s).
131 */
132static struct xxx_par __initdata current_par;
133
1/*
2 * linux/drivers/video/skeletonfb.c -- Skeleton for a frame buffer device
3 *
4 * Modified to new api Jan 2001 by James Simmons (jsimmons@transvirtual.com)
5 *
6 * Created 28 Dec 1997 by Geert Uytterhoeven
7 *
8 *

--- 117 unchanged lines hidden (view full) ---

126static struct fb_info info;
127
128 /*
129 * Each one represents the state of the hardware. Most hardware have
130 * just one hardware state. These here represent the default state(s).
131 */
132static struct xxx_par __initdata current_par;
133
134int xxxfb_init(void);
135
136/**
137 * xxxfb_open - Optional function. Called when the framebuffer is
138 * first accessed.
139 * @info: frame buffer structure that represents a single frame buffer
140 * @user: tell us if the userland (value=1) or the console is accessing
141 * the framebuffer.
142 *
143 * This function is the first function called in the framebuffer api.

--- 737 unchanged lines hidden (view full) ---

881 .id_table = xxxfb_id_table,
882 .probe = xxxfb_probe,
883 .remove = xxxfb_remove,
884 .driver.pm = xxxfb_pm_ops, /* optional but recommended */
885};
886
887MODULE_DEVICE_TABLE(pci, xxxfb_id_table);
888
134/**
135 * xxxfb_open - Optional function. Called when the framebuffer is
136 * first accessed.
137 * @info: frame buffer structure that represents a single frame buffer
138 * @user: tell us if the userland (value=1) or the console is accessing
139 * the framebuffer.
140 *
141 * This function is the first function called in the framebuffer api.

--- 737 unchanged lines hidden (view full) ---

879 .id_table = xxxfb_id_table,
880 .probe = xxxfb_probe,
881 .remove = xxxfb_remove,
882 .driver.pm = xxxfb_pm_ops, /* optional but recommended */
883};
884
885MODULE_DEVICE_TABLE(pci, xxxfb_id_table);
886
889int __init xxxfb_init(void)
887static int __init xxxfb_init(void)
890{
891 /*
892 * For kernel boot options (in 'video=xxxfb:<options>' format)
893 */
894#ifndef MODULE
895 char *option = NULL;
896
897 if (fb_get_options("xxxfb", &option))

--- 64 unchanged lines hidden (view full) ---

962 /*
963 * Setup
964 */
965
966/*
967 * Only necessary if your driver takes special options,
968 * otherwise we fall back on the generic fb_setup().
969 */
888{
889 /*
890 * For kernel boot options (in 'video=xxxfb:<options>' format)
891 */
892#ifndef MODULE
893 char *option = NULL;
894
895 if (fb_get_options("xxxfb", &option))

--- 64 unchanged lines hidden (view full) ---

960 /*
961 * Setup
962 */
963
964/*
965 * Only necessary if your driver takes special options,
966 * otherwise we fall back on the generic fb_setup().
967 */
970int __init xxxfb_setup(char *options)
968static int __init xxxfb_setup(char *options)
971{
972 /* Parse user specified options (`video=xxxfb:') */
973}
974#endif /* MODULE */
975
976static int __init xxxfb_init(void)
977{
978 int ret;

--- 43 unchanged lines hidden ---
969{
970 /* Parse user specified options (`video=xxxfb:') */
971}
972#endif /* MODULE */
973
974static int __init xxxfb_init(void)
975{
976 int ret;

--- 43 unchanged lines hidden ---