Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
45bcb92a
Commit
45bcb92a
authored
Apr 23, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dont const objects put into initdata.
parent
0e8b438b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
39 deletions
+39
-39
drivers/video/aty/atyfb_base.c
drivers/video/aty/atyfb_base.c
+38
-38
drivers/video/pm2fb.c
drivers/video/pm2fb.c
+1
-1
No files found.
drivers/video/aty/atyfb_base.c
View file @
45bcb92a
...
...
@@ -251,7 +251,7 @@ static int default_pll __initdata = 0;
static
int
default_mclk
__initdata
=
0
;
#ifndef MODULE
static
c
onst
c
har
*
mode_option
__initdata
=
NULL
;
static
char
*
mode_option
__initdata
=
NULL
;
#endif
#ifdef CONFIG_PPC
...
...
@@ -271,33 +271,33 @@ static unsigned long phys_size[FB_MAX] __initdata = { 0, };
static
unsigned
long
phys_guiregbase
[
FB_MAX
]
__initdata
=
{
0
,
};
#endif
static
c
onst
c
har
m64n_gx
[]
__initdata
=
"mach64GX (ATI888GX00)"
;
static
c
onst
c
har
m64n_cx
[]
__initdata
=
"mach64CX (ATI888CX00)"
;
static
c
onst
c
har
m64n_ct
[]
__initdata
=
"mach64CT (ATI264CT)"
;
static
c
onst
c
har
m64n_et
[]
__initdata
=
"mach64ET (ATI264ET)"
;
static
c
onst
c
har
m64n_vta3
[]
__initdata
=
"mach64VTA3 (ATI264VT)"
;
static
c
onst
c
har
m64n_vta4
[]
__initdata
=
"mach64VTA4 (ATI264VT)"
;
static
c
onst
c
har
m64n_vtb
[]
__initdata
=
"mach64VTB (ATI264VTB)"
;
static
c
onst
c
har
m64n_vt4
[]
__initdata
=
"mach64VT4 (ATI264VT4)"
;
static
c
onst
c
har
m64n_gt
[]
__initdata
=
"3D RAGE (GT)"
;
static
c
onst
c
har
m64n_gtb
[]
__initdata
=
"3D RAGE II+ (GTB)"
;
static
c
onst
c
har
m64n_iic_p
[]
__initdata
=
"3D RAGE IIC (PCI)"
;
static
c
onst
c
har
m64n_iic_a
[]
__initdata
=
"3D RAGE IIC (AGP)"
;
static
c
onst
c
har
m64n_lt
[]
__initdata
=
"3D RAGE LT"
;
static
c
onst
c
har
m64n_ltg
[]
__initdata
=
"3D RAGE LT-G"
;
static
c
onst
c
har
m64n_gtc_ba
[]
__initdata
=
"3D RAGE PRO (BGA, AGP)"
;
static
c
onst
c
har
m64n_gtc_ba1
[]
__initdata
=
"3D RAGE PRO (BGA, AGP, 1x only)"
;
static
c
onst
c
har
m64n_gtc_bp
[]
__initdata
=
"3D RAGE PRO (BGA, PCI)"
;
static
c
onst
c
har
m64n_gtc_pp
[]
__initdata
=
"3D RAGE PRO (PQFP, PCI)"
;
static
c
onst
c
har
m64n_gtc_ppl
[]
__initdata
=
"3D RAGE PRO (PQFP, PCI, limited 3D)"
;
static
c
onst
c
har
m64n_xl
[]
__initdata
=
"3D RAGE (XL)"
;
static
c
onst
c
har
m64n_ltp_a
[]
__initdata
=
"3D RAGE LT PRO (AGP)"
;
static
c
onst
c
har
m64n_ltp_p
[]
__initdata
=
"3D RAGE LT PRO (PCI)"
;
static
c
onst
c
har
m64n_mob_p
[]
__initdata
=
"3D RAGE Mobility (PCI)"
;
static
c
onst
c
har
m64n_mob_a
[]
__initdata
=
"3D RAGE Mobility (AGP)"
;
static
const
struct
{
static
char
m64n_gx
[]
__initdata
=
"mach64GX (ATI888GX00)"
;
static
char
m64n_cx
[]
__initdata
=
"mach64CX (ATI888CX00)"
;
static
char
m64n_ct
[]
__initdata
=
"mach64CT (ATI264CT)"
;
static
char
m64n_et
[]
__initdata
=
"mach64ET (ATI264ET)"
;
static
char
m64n_vta3
[]
__initdata
=
"mach64VTA3 (ATI264VT)"
;
static
char
m64n_vta4
[]
__initdata
=
"mach64VTA4 (ATI264VT)"
;
static
char
m64n_vtb
[]
__initdata
=
"mach64VTB (ATI264VTB)"
;
static
char
m64n_vt4
[]
__initdata
=
"mach64VT4 (ATI264VT4)"
;
static
char
m64n_gt
[]
__initdata
=
"3D RAGE (GT)"
;
static
char
m64n_gtb
[]
__initdata
=
"3D RAGE II+ (GTB)"
;
static
char
m64n_iic_p
[]
__initdata
=
"3D RAGE IIC (PCI)"
;
static
char
m64n_iic_a
[]
__initdata
=
"3D RAGE IIC (AGP)"
;
static
char
m64n_lt
[]
__initdata
=
"3D RAGE LT"
;
static
char
m64n_ltg
[]
__initdata
=
"3D RAGE LT-G"
;
static
char
m64n_gtc_ba
[]
__initdata
=
"3D RAGE PRO (BGA, AGP)"
;
static
char
m64n_gtc_ba1
[]
__initdata
=
"3D RAGE PRO (BGA, AGP, 1x only)"
;
static
char
m64n_gtc_bp
[]
__initdata
=
"3D RAGE PRO (BGA, PCI)"
;
static
char
m64n_gtc_pp
[]
__initdata
=
"3D RAGE PRO (PQFP, PCI)"
;
static
char
m64n_gtc_ppl
[]
__initdata
=
"3D RAGE PRO (PQFP, PCI, limited 3D)"
;
static
char
m64n_xl
[]
__initdata
=
"3D RAGE (XL)"
;
static
char
m64n_ltp_a
[]
__initdata
=
"3D RAGE LT PRO (AGP)"
;
static
char
m64n_ltp_p
[]
__initdata
=
"3D RAGE LT PRO (PCI)"
;
static
char
m64n_mob_p
[]
__initdata
=
"3D RAGE Mobility (PCI)"
;
static
char
m64n_mob_a
[]
__initdata
=
"3D RAGE Mobility (AGP)"
;
static
struct
{
u16
pci_id
,
chip_type
;
u8
rev_mask
,
rev_val
;
const
char
*
name
;
...
...
@@ -357,24 +357,24 @@ static const struct {
#endif
/* CONFIG_FB_ATY_CT */
};
static
c
onst
c
har
ram_dram
[]
__initdata
=
"DRAM"
;
static
c
onst
c
har
ram_vram
[]
__initdata
=
"VRAM"
;
static
c
onst
c
har
ram_edo
[]
__initdata
=
"EDO"
;
static
c
onst
c
har
ram_sdram
[]
__initdata
=
"SDRAM"
;
static
c
onst
c
har
ram_sgram
[]
__initdata
=
"SGRAM"
;
static
c
onst
c
har
ram_wram
[]
__initdata
=
"WRAM"
;
static
c
onst
c
har
ram_off
[]
__initdata
=
"OFF"
;
static
c
onst
c
har
ram_resv
[]
__initdata
=
"RESV"
;
static
char
ram_dram
[]
__initdata
=
"DRAM"
;
static
char
ram_vram
[]
__initdata
=
"VRAM"
;
static
char
ram_edo
[]
__initdata
=
"EDO"
;
static
char
ram_sdram
[]
__initdata
=
"SDRAM"
;
static
char
ram_sgram
[]
__initdata
=
"SGRAM"
;
static
char
ram_wram
[]
__initdata
=
"WRAM"
;
static
char
ram_off
[]
__initdata
=
"OFF"
;
static
char
ram_resv
[]
__initdata
=
"RESV"
;
#ifdef CONFIG_FB_ATY_GX
static
c
onst
c
har
*
aty_gx_ram
[
8
]
__initdata
=
{
static
char
*
aty_gx_ram
[
8
]
__initdata
=
{
ram_dram
,
ram_vram
,
ram_vram
,
ram_dram
,
ram_dram
,
ram_vram
,
ram_vram
,
ram_resv
};
#endif
/* CONFIG_FB_ATY_GX */
#ifdef CONFIG_FB_ATY_CT
static
c
onst
c
har
*
aty_ct_ram
[
8
]
__initdata
=
{
static
char
*
aty_ct_ram
[
8
]
__initdata
=
{
ram_off
,
ram_dram
,
ram_edo
,
ram_edo
,
ram_sdram
,
ram_sgram
,
ram_wram
,
ram_resv
};
...
...
drivers/video/pm2fb.c
View file @
45bcb92a
...
...
@@ -129,7 +129,7 @@ static struct {
static
char
curblink
__initdata
=
1
;
static
const
struct
{
static
struct
{
char
name
[
16
];
struct
pm2fb_par
par
;
}
user_mode
[]
__initdata
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment