dsi.c (0337966d121ebebf73a1c346123e8112796e684e) | dsi.c (f54ca1a0966bcdb525aee130a043a8adbccc5cbb) |
---|---|
1/* 2 * Copyright (c) 2015, The Linux Foundation. All rights reserved. 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License version 2 and 6 * only version 2 as published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, --- 147 unchanged lines hidden (view full) --- 156 return 0; 157} 158 159static const struct of_device_id dt_match[] = { 160 { .compatible = "qcom,mdss-dsi-ctrl" }, 161 {} 162}; 163 | 1/* 2 * Copyright (c) 2015, The Linux Foundation. All rights reserved. 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License version 2 and 6 * only version 2 as published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, --- 147 unchanged lines hidden (view full) --- 156 return 0; 157} 158 159static const struct of_device_id dt_match[] = { 160 { .compatible = "qcom,mdss-dsi-ctrl" }, 161 {} 162}; 163 |
164static const struct dev_pm_ops dsi_pm_ops = { 165 SET_RUNTIME_PM_OPS(msm_dsi_runtime_suspend, msm_dsi_runtime_resume, NULL) 166}; 167 |
|
164static struct platform_driver dsi_driver = { 165 .probe = dsi_dev_probe, 166 .remove = dsi_dev_remove, 167 .driver = { 168 .name = "msm_dsi", 169 .of_match_table = dt_match, | 168static struct platform_driver dsi_driver = { 169 .probe = dsi_dev_probe, 170 .remove = dsi_dev_remove, 171 .driver = { 172 .name = "msm_dsi", 173 .of_match_table = dt_match, |
174 .pm = &dsi_pm_ops, |
|
170 }, 171}; 172 173void __init msm_dsi_register(void) 174{ 175 DBG(""); 176 msm_dsi_phy_driver_register(); 177 platform_driver_register(&dsi_driver); --- 82 unchanged lines hidden --- | 175 }, 176}; 177 178void __init msm_dsi_register(void) 179{ 180 DBG(""); 181 msm_dsi_phy_driver_register(); 182 platform_driver_register(&dsi_driver); --- 82 unchanged lines hidden --- |