clk-twl6040.c (0cce284537fb42d9c28b9b31038ffc9b464555f5) | clk-twl6040.c (0777066dcee8a4f16db09fd21dfd58b6d83b12f9) |
---|---|
1/* 2* TWL6040 clock module driver for OMAP4 McPDM functional clock 3* 4* Copyright (C) 2012 Texas Instruments Inc. 5* Peter Ujfalusi <peter.ujfalusi@ti.com> 6* 7* This program is free software; you can redistribute it and/or 8* modify it under the terms of the GNU General Public License --- 68 unchanged lines hidden (view full) --- 77 78static const struct clk_ops twl6040_pdmclk_ops = { 79 .is_prepared = twl6040_pdmclk_is_prepared, 80 .prepare = twl6040_pdmclk_prepare, 81 .unprepare = twl6040_pdmclk_unprepare, 82 .recalc_rate = twl6040_pdmclk_recalc_rate, 83}; 84 | 1/* 2* TWL6040 clock module driver for OMAP4 McPDM functional clock 3* 4* Copyright (C) 2012 Texas Instruments Inc. 5* Peter Ujfalusi <peter.ujfalusi@ti.com> 6* 7* This program is free software; you can redistribute it and/or 8* modify it under the terms of the GNU General Public License --- 68 unchanged lines hidden (view full) --- 77 78static const struct clk_ops twl6040_pdmclk_ops = { 79 .is_prepared = twl6040_pdmclk_is_prepared, 80 .prepare = twl6040_pdmclk_prepare, 81 .unprepare = twl6040_pdmclk_unprepare, 82 .recalc_rate = twl6040_pdmclk_recalc_rate, 83}; 84 |
85static struct clk_init_data twl6040_pdmclk_init = { | 85static const struct clk_init_data twl6040_pdmclk_init = { |
86 .name = "pdmclk", 87 .ops = &twl6040_pdmclk_ops, 88 .flags = CLK_GET_RATE_NOCACHE, 89}; 90 91static int twl6040_pdmclk_probe(struct platform_device *pdev) 92{ 93 struct twl6040 *twl6040 = dev_get_drvdata(pdev->dev.parent); --- 35 unchanged lines hidden --- | 86 .name = "pdmclk", 87 .ops = &twl6040_pdmclk_ops, 88 .flags = CLK_GET_RATE_NOCACHE, 89}; 90 91static int twl6040_pdmclk_probe(struct platform_device *pdev) 92{ 93 struct twl6040 *twl6040 = dev_get_drvdata(pdev->dev.parent); --- 35 unchanged lines hidden --- |