From patchwork Mon May 7 05:08:29 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Turquette X-Patchwork-Id: 8424 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 490AA23E00 for ; Mon, 7 May 2012 05:14:15 +0000 (UTC) Received: from mail-gy0-f178.google.com (mail-gh0-f178.google.com [209.85.160.178]) by fiordland.canonical.com (Postfix) with ESMTP id 1993DA18679 for ; Mon, 7 May 2012 05:14:15 +0000 (UTC) Received: by ghbf1 with SMTP id f1so4804632ghb.37 for ; Sun, 06 May 2012 22:14:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :mime-version:content-type:x-gm-message-state; bh=e57LIz0hpA5c6R0a7a8Fcup6myAlO+Fr1ME0SQRlpW8=; b=i/ZdLucf5WU0tcx8zLxO0w5ATawwMQ5qA8RZ7aNao8osyyRdw/lGvC4+I67edL9hHF nLxES8Dsj54/6Y8ZAHn5qwdylX4sPXKD6/nJv3+GqkRHh35lO9RG80BzScuyTX3oN9jT UWhDm90FBUlucQjiuzXzu53kdLV0qoTCNoGGXpVXpdG62vuV7ySHHxtwDHoX1ZAZLlFl r7a7i5jYBwmYb9n8ksi5+F80GN6WLaUyw0xWPfHIAcz1SD3F7SRU7jrXRkBMhk0L1mlp X5UQWHooJgRfcgP1sR5iAAzjxwS4VhwfTFT7Y8e8y4vUmbbV5wb4sdGmuSX2KQVwylyu B6Dw== Received: by 10.50.10.225 with SMTP id l1mr7672881igb.1.1336367654450; Sun, 06 May 2012 22:14:14 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.73.147 with SMTP id q19csp102862ibj; Sun, 6 May 2012 22:14:13 -0700 (PDT) Received: by 10.182.232.38 with SMTP id tl6mr388755obc.16.1336367652906; Sun, 06 May 2012 22:14:12 -0700 (PDT) Received: from arroyo.ext.ti.com (arroyo.ext.ti.com. [192.94.94.40]) by mx.google.com with ESMTPS id s3si9207598obn.1.2012.05.06.22.14.12 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 06 May 2012 22:14:12 -0700 (PDT) Received-SPF: neutral (google.com: 192.94.94.40 is neither permitted nor denied by best guess record for domain of mturquette@linaro.org) client-ip=192.94.94.40; Authentication-Results: mx.google.com; spf=neutral (google.com: 192.94.94.40 is neither permitted nor denied by best guess record for domain of mturquette@linaro.org) smtp.mail=mturquette@linaro.org Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id q475E7lh014837; Mon, 7 May 2012 00:14:07 -0500 Received: from DFLE70.ent.ti.com (dfle70.ent.ti.com [128.247.5.40]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id q475E7O9022367; Mon, 7 May 2012 00:14:07 -0500 Received: from dlelxv22.itg.ti.com (172.17.1.197) by dfle70.ent.ti.com (128.247.5.40) with Microsoft SMTP Server id 14.1.323.3; Mon, 7 May 2012 00:14:07 -0500 Received: from nucleus.nsc.com (nucleus.nsc.com [10.188.36.112]) by dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id q475DxRq028783; Mon, 7 May 2012 00:14:05 -0500 From: Mike Turquette To: CC: , , , , , , , , , , , , , Mike Turquette Subject: [PATCH 4/5] clk: mux: assign init data Date: Sun, 6 May 2012 22:08:29 -0700 Message-ID: <1336367310-5140-5-git-send-email-mturquette@linaro.org> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1336367310-5140-1-git-send-email-mturquette@linaro.org> References: <1336367310-5140-1-git-send-email-mturquette@linaro.org> MIME-Version: 1.0 X-Gm-Message-State: ALoCoQnrInFNyMDJpzqy5ou6eZ+fMeIDLnqAJQhiOk2fGsUOGF19vdj3PoIS9K22FxkTCwt9V3U6 The original conversion to struct clk_hw_init failed to add the pointer assignment in clk_register_mux. Signed-off-by: Mike Turquette Reported-by: Sascha Hauer --- drivers/clk/clk-mux.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/clk/clk-mux.c b/drivers/clk/clk-mux.c index 8e97491..fd36a8e 100644 --- a/drivers/clk/clk-mux.c +++ b/drivers/clk/clk-mux.c @@ -116,6 +116,7 @@ struct clk *clk_register_mux(struct device *dev, const char *name, mux->width = width; mux->flags = clk_mux_flags; mux->lock = lock; + mux->hw.init = &init; clk = clk_register(dev, &mux->hw);