From 20402106a376dcc4a766d3b0cee801ce29ba76d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Thu, 7 Jul 2016 09:22:07 +0200 Subject: brcm2708: update linux 4.4 patches to latest version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As usual these patches were extracted and rebased from the raspberry pi repo: https://github.com/raspberrypi/linux/tree/rpi-4.4.y Signed-off-by: Álvaro Fernández Rojas --- ...-clk-bcm2835-clean-up-coding-style-issues.patch | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 target/linux/brcm2708/patches-4.4/0257-clk-bcm2835-clean-up-coding-style-issues.patch (limited to 'target/linux/brcm2708/patches-4.4/0257-clk-bcm2835-clean-up-coding-style-issues.patch') diff --git a/target/linux/brcm2708/patches-4.4/0257-clk-bcm2835-clean-up-coding-style-issues.patch b/target/linux/brcm2708/patches-4.4/0257-clk-bcm2835-clean-up-coding-style-issues.patch new file mode 100644 index 0000000000..30ef85aa63 --- /dev/null +++ b/target/linux/brcm2708/patches-4.4/0257-clk-bcm2835-clean-up-coding-style-issues.patch @@ -0,0 +1,52 @@ +From 9da8191efd09a55914c0078ee23317cd79c48b15 Mon Sep 17 00:00:00 2001 +From: Martin Sperl +Date: Mon, 29 Feb 2016 11:39:22 +0000 +Subject: [PATCH 257/423] clk: bcm2835: clean up coding style issues + +Fix all the checkpatch complaints for clk-bcm2835.c + +Signed-off-by: Martin Sperl +Signed-off-by: Eric Anholt +(cherry picked from commit 6e1e60dacee7b32aef1468ea461b02e4c7a90a45) +--- + drivers/clk/bcm/clk-bcm2835.c | 8 ++------ + 1 file changed, 2 insertions(+), 6 deletions(-) + +--- a/drivers/clk/bcm/clk-bcm2835.c ++++ b/drivers/clk/bcm/clk-bcm2835.c +@@ -12,9 +12,6 @@ + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * +- * You should have received a copy of the GNU General Public License +- * along with this program; if not, write to the Free Software +- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + + /** +@@ -299,7 +296,7 @@ + struct bcm2835_cprman { + struct device *dev; + void __iomem *regs; +- spinlock_t regs_lock; ++ spinlock_t regs_lock; /* spinlock for all clocks */ + const char *osc_name; + + struct clk_onecell_data onecell; +@@ -1344,7 +1341,7 @@ static int bcm2835_clock_set_rate(struct + } + + static int bcm2835_clock_determine_rate(struct clk_hw *hw, +- struct clk_rate_request *req) ++ struct clk_rate_request *req) + { + struct bcm2835_clock *clock = bcm2835_clock_from_hw(hw); + struct clk_hw *parent, *best_parent = NULL; +@@ -1402,7 +1399,6 @@ static u8 bcm2835_clock_get_parent(struc + return (src & CM_SRC_MASK) >> CM_SRC_SHIFT; + } + +- + static const struct clk_ops bcm2835_clock_clk_ops = { + .is_prepared = bcm2835_clock_is_on, + .prepare = bcm2835_clock_on, -- cgit v1.2.3