aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/aty/atyfb.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-02-04 20:06:50 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2009-02-08 13:48:56 -0500
commitb7468168631e03c70105491a0236137868613436 (patch)
treea258e2049a245c4d652faa016dd438b2faba5e1e /drivers/video/aty/atyfb.h
parente83102cab0fd95d4508361b061146c978b3abd60 (diff)
atyfb: Properly save PCI state before changing PCI PM level
This fixes atyfb to properly save the PCI config space -before- it potentially switches the PM state of the chip. This avoids a warning with the new PM core and is the right thing to do anyway. I also slightly cleaned up the code that checks whether we are running on a PowerMac to do a runtime check instead of a compile check only, and replaced a deprecated number with the proper symbolic constant. Finally, I removed the useless switch to D0 from resume since the core does it for us. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/aty/atyfb.h')
0 files changed, 0 insertions, 0 deletions