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
Kirill Smelkov
linux
Commits
1ca97ab9
Commit
1ca97ab9
authored
Nov 10, 2002
by
Art Haas
Committed by
Andy Grover
Nov 10, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] C99 designated initializers for drivers/char/agp
parent
f6cb3993
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
11 additions
and
11 deletions
+11
-11
drivers/char/agp/agp.c
drivers/char/agp/agp.c
+1
-1
drivers/char/agp/ali-agp.c
drivers/char/agp/ali-agp.c
+1
-1
drivers/char/agp/amd-agp.c
drivers/char/agp/amd-agp.c
+1
-1
drivers/char/agp/hp-agp.c
drivers/char/agp/hp-agp.c
+1
-1
drivers/char/agp/i810-agp.c
drivers/char/agp/i810-agp.c
+3
-3
drivers/char/agp/i8x0-agp.c
drivers/char/agp/i8x0-agp.c
+1
-1
drivers/char/agp/sis-agp.c
drivers/char/agp/sis-agp.c
+1
-1
drivers/char/agp/sworks-agp.c
drivers/char/agp/sworks-agp.c
+1
-1
drivers/char/agp/via-agp.c
drivers/char/agp/via-agp.c
+1
-1
No files found.
drivers/char/agp/agp.c
View file @
1ca97ab9
...
...
@@ -47,7 +47,7 @@ EXPORT_SYMBOL(agp_enable);
EXPORT_SYMBOL
(
agp_backend_acquire
);
EXPORT_SYMBOL
(
agp_backend_release
);
struct
agp_bridge_data
agp_bridge
=
{
type
:
NOT_SUPPORTED
};
struct
agp_bridge_data
agp_bridge
=
{
.
type
=
NOT_SUPPORTED
};
static
int
agp_try_unsupported
__initdata
=
0
;
int
agp_memory_reserved
;
...
...
drivers/char/agp/ali-agp.c
View file @
1ca97ab9
...
...
@@ -216,7 +216,7 @@ static void ali_destroy_page(void * addr)
/* Setup function */
static
struct
gatt_mask
ali_generic_masks
[]
=
{
{
mask
:
0x00000000
,
type
:
0
}
{
.
mask
=
0x00000000
,
.
type
=
0
}
};
static
struct
aper_size_info_32
ali_generic_sizes
[
7
]
=
...
...
drivers/char/agp/amd-agp.c
View file @
1ca97ab9
...
...
@@ -370,7 +370,7 @@ static struct aper_size_info_lvl2 amd_irongate_sizes[7] =
static
struct
gatt_mask
amd_irongate_masks
[]
=
{
{
mask
:
0x00000001
,
type
:
0
}
{
.
mask
=
0x00000001
,
.
type
=
0
}
};
int
__init
amd_irongate_setup
(
struct
pci_dev
*
pdev
)
...
...
drivers/char/agp/hp-agp.c
View file @
1ca97ab9
...
...
@@ -53,7 +53,7 @@ static struct aper_size_info_fixed hp_zx1_sizes[] =
static
struct
gatt_mask
hp_zx1_masks
[]
=
{
{
mask
:
HP_ZX1_PDIR_VALID_BIT
,
type
:
0
}
{
.
mask
=
HP_ZX1_PDIR_VALID_BIT
,
.
type
=
0
}
};
static
struct
_hp_private
{
...
...
drivers/char/agp/i810-agp.c
View file @
1ca97ab9
...
...
@@ -44,9 +44,9 @@ static struct aper_size_info_fixed intel_i810_sizes[] =
static
struct
gatt_mask
intel_i810_masks
[]
=
{
{
mask
:
I810_PTE_VALID
,
type
:
0
},
{
mask
:
(
I810_PTE_VALID
|
I810_PTE_LOCAL
),
type
:
AGP_DCACHE_MEMORY
},
{
mask
:
I810_PTE_VALID
,
type
:
0
}
{
.
mask
=
I810_PTE_VALID
,
.
type
=
0
},
{
.
mask
=
(
I810_PTE_VALID
|
I810_PTE_LOCAL
),
.
type
=
AGP_DCACHE_MEMORY
},
{
.
mask
=
I810_PTE_VALID
,
.
type
=
0
}
};
static
struct
_intel_i810_private
{
...
...
drivers/char/agp/i8x0-agp.c
View file @
1ca97ab9
...
...
@@ -427,7 +427,7 @@ static void intel_resume(void)
/* Setup function */
static
struct
gatt_mask
intel_generic_masks
[]
=
{
{
mask
:
0x00000017
,
type
:
0
}
{
.
mask
=
0x00000017
,
.
type
=
0
}
};
static
struct
aper_size_info_8
intel_815_sizes
[
2
]
=
...
...
drivers/char/agp/sis-agp.c
View file @
1ca97ab9
...
...
@@ -106,7 +106,7 @@ static struct aper_size_info_8 sis_generic_sizes[7] =
static
struct
gatt_mask
sis_generic_masks
[]
=
{
{
mask
:
0x00000000
,
type
:
0
}
{
.
mask
=
0x00000000
,
.
type
=
0
}
};
int
__init
sis_generic_setup
(
struct
pci_dev
*
pdev
)
...
...
drivers/char/agp/sworks-agp.c
View file @
1ca97ab9
...
...
@@ -438,7 +438,7 @@ static int serverworks_remove_memory(agp_memory * mem, off_t pg_start,
static
struct
gatt_mask
serverworks_masks
[]
=
{
{
mask
:
0x00000001
,
type
:
0
}
{
.
mask
=
0x00000001
,
.
type
=
0
}
};
static
struct
aper_size_info_lvl2
serverworks_sizes
[
7
]
=
...
...
drivers/char/agp/via-agp.c
View file @
1ca97ab9
...
...
@@ -114,7 +114,7 @@ static struct aper_size_info_8 via_generic_sizes[7] =
static
struct
gatt_mask
via_generic_masks
[]
=
{
{
mask
:
0x00000000
,
type
:
0
}
{
.
mask
=
0x00000000
,
.
type
=
0
}
};
int
__init
via_generic_setup
(
struct
pci_dev
*
pdev
)
...
...
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