diff options
Diffstat (limited to 'drivers/char/agp')
-rw-r--r-- | drivers/char/agp/intel-agp.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c index 6a22aa9783b8..10f72db7da02 100644 --- a/drivers/char/agp/intel-agp.c +++ b/drivers/char/agp/intel-agp.c | |||
@@ -935,22 +935,7 @@ static int agp_intel_resume(struct pci_dev *pdev) | |||
935 | struct agp_bridge_data *bridge = pci_get_drvdata(pdev); | 935 | struct agp_bridge_data *bridge = pci_get_drvdata(pdev); |
936 | int ret_val; | 936 | int ret_val; |
937 | 937 | ||
938 | if (bridge->driver == &intel_generic_driver) | 938 | bridge->driver->configure(); |
939 | intel_configure(); | ||
940 | else if (bridge->driver == &intel_850_driver) | ||
941 | intel_850_configure(); | ||
942 | else if (bridge->driver == &intel_845_driver) | ||
943 | intel_845_configure(); | ||
944 | else if (bridge->driver == &intel_830mp_driver) | ||
945 | intel_830mp_configure(); | ||
946 | else if (bridge->driver == &intel_915_driver) | ||
947 | intel_i915_configure(); | ||
948 | else if (bridge->driver == &intel_830_driver) | ||
949 | intel_i830_configure(); | ||
950 | else if (bridge->driver == &intel_810_driver) | ||
951 | intel_i810_configure(); | ||
952 | else if (bridge->driver == &intel_i965_driver) | ||
953 | intel_i915_configure(); | ||
954 | 939 | ||
955 | ret_val = agp_rebind_memory(); | 940 | ret_val = agp_rebind_memory(); |
956 | if (ret_val != 0) | 941 | if (ret_val != 0) |