Commit a0a34d57 authored by Linus Torvalds's avatar Linus Torvalds

Fix AGP device ID's - make them static, and fix bad ATI name confusion.

parent 069489b3
......@@ -231,7 +231,7 @@ struct agp_bridge_driver ali_m1541_bridge = {
};
struct agp_device_ids ali_agp_device_ids[] __initdata =
static struct agp_device_ids ali_agp_device_ids[] __initdata =
{
{
.device_id = PCI_DEVICE_ID_AL_M1541,
......
......@@ -365,7 +365,7 @@ struct agp_bridge_driver amd_irongate_driver = {
.agp_destroy_page = agp_generic_destroy_page,
};
struct agp_device_ids amd_agp_device_ids[] __initdata =
static struct agp_device_ids amd_agp_device_ids[] __initdata =
{
{
.device_id = PCI_DEVICE_ID_AMD_FE_GATE_7006,
......
......@@ -405,7 +405,7 @@ struct agp_bridge_driver ati_generic_bridge = {
};
struct agp_device_ids ali_agp_device_ids[] __initdata =
static struct agp_device_ids ati_agp_device_ids[] __initdata =
{
{
.device_id = PCI_DEVICE_ID_ATI_RS100,
......@@ -441,7 +441,7 @@ struct agp_device_ids ali_agp_device_ids[] __initdata =
static int __init agp_ati_probe(struct pci_dev *pdev,
const struct pci_device_id *ent)
{
struct agp_device_ids *devs = ali_agp_device_ids;
struct agp_device_ids *devs = ati_agp_device_ids;
struct agp_bridge_data *bridge;
u8 cap_ptr;
int j;
......
......@@ -95,7 +95,7 @@ struct agp_bridge_driver sis_driver = {
.agp_destroy_page = agp_generic_destroy_page,
};
struct agp_device_ids sis_agp_device_ids[] __initdata =
static struct agp_device_ids sis_agp_device_ids[] __initdata =
{
{
.device_id = PCI_DEVICE_ID_SI_530,
......
......@@ -282,7 +282,7 @@ struct agp_bridge_driver uninorth_agp_driver = {
.cant_use_aperture = 1,
};
struct agp_device_ids uninorth_agp_device_ids[] __initdata = {
static struct agp_device_ids uninorth_agp_device_ids[] __initdata = {
{
.device_id = PCI_DEVICE_ID_APPLE_UNI_N_AGP,
.chipset_name = "UniNorth",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment