projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tcx: use standard fields for framebuffer physical address and length
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
video
/
chipsfb.c
diff --git
a/drivers/video/chipsfb.c
b/drivers/video/chipsfb.c
index 6796ba62c3c6ca849d599e1ff74075168aad6855..57b9d276497ed07e485311f38e95c6ef86af870e 100644
(file)
--- a/
drivers/video/chipsfb.c
+++ b/
drivers/video/chipsfb.c
@@
-414,7
+414,6
@@
chipsfb_pci_init(struct pci_dev *dp, const struct pci_device_id *ent)
}
pci_set_drvdata(dp, p);
- p->device = &dp->dev;
init_chips(p, addr);
@@
-459,7
+458,7
@@
static int chipsfb_pci_suspend(struct pci_dev *pdev, pm_message_t state)
if (state.event == pdev->dev.power.power_state.event)
return 0;
- if (
state.event != PM_EVENT_SUSPEND
)
+ if (
!(state.event & PM_EVENT_SLEEP)
)
goto done;
acquire_console_sem();