summaryrefslogtreecommitdiffstats
path: root/drivers/video/aty/radeonfb.h
diff options
context:
space:
mode:
authorJon Mason <jdmason@kudzu.us>2013-09-11 23:35:06 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-09-19 12:30:06 +0200
commit65122f7e80b5a4aaec76c21369c798975c3eedac (patch)
treea1142b173ac7990fc3d54a91b817585f9b364a13 /drivers/video/aty/radeonfb.h
parentaty128fb: Use pci_dev pm_cap (diff)
downloadlinux-65122f7e80b5a4aaec76c21369c798975c3eedac.tar.xz
linux-65122f7e80b5a4aaec76c21369c798975c3eedac.zip
radeonfb: Use pci_dev pm_cap
Use the already existing pm_cap variable in struct pci_dev for determining the power management offset. This saves the driver from having to keep track of an extra variable. Also, use the pci_power_t value instead of always using the raw value for PCI_D2. Signed-off-by: Jon Mason <jdmason@kudzu.us> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com> Cc: Tomi Valkeinen <tomi.valkeinen@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/aty/radeonfb.h')
-rw-r--r--drivers/video/aty/radeonfb.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/aty/radeonfb.h b/drivers/video/aty/radeonfb.h
index 7351e66c7f54..cb846044f57c 100644
--- a/drivers/video/aty/radeonfb.h
+++ b/drivers/video/aty/radeonfb.h
@@ -342,7 +342,6 @@ struct radeonfb_info {
int mtrr_hdl;
- int pm_reg;
u32 save_regs[100];
int asleep;
int lock_blank;