From patchwork Fri May 31 12:55:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 2643941 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 6BE8BDFB79 for ; Fri, 31 May 2013 12:58:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755301Ab3EaM6K (ORCPT ); Fri, 31 May 2013 08:58:10 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:57589 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753353Ab3EaM4D (ORCPT ); Fri, 31 May 2013 08:56:03 -0400 Received: by mail-wi0-f182.google.com with SMTP id c10so660007wiw.3 for ; Fri, 31 May 2013 05:56:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:in-reply-to:references:content-type:x-gm-message-state; bh=FYUpt9naKPCYiuRyDmmo34RCFKfa1uBH1TxPqSpZqOw=; b=SRjHgl0J0WIZBhcQ3Gg6btvRr9Yq0hAzIUNjgrarKvRGrLgc8CZQJGKPIKOkcTLA5V 2PmWCX8wgEz1VNJOqJqovy5iejon8QmwuC765G+OX1LqX05ph3y9ReBv4ZJZResOllBO vXKMhFKZxOX/6Q0FaP8V+Z3wc8Lwvq05x+s2VMYGR9N+4pYqntAE9ggO4gQc8iHYfeY8 83IRXHmGY6ZUFfUjjBnbUmfitEL/tWKXuaHbkjDQXpUctq3wjDgmFtDdvMCvXfUB+aip 78U8pjb3Y3w+tlnNCHUdYEZozCPC4guTYwIVnsEi1NogAdFm9UPvRvlX+tXdoD+jj8It HzBg== X-Received: by 10.180.206.205 with SMTP id lq13mr3157447wic.56.1370004961780; Fri, 31 May 2013 05:56:01 -0700 (PDT) Received: from localhost (nat-63.starnet.cz. [178.255.168.63]) by mx.google.com with ESMTPSA id fu14sm3854046wic.0.2013.05.31.05.55.59 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Fri, 31 May 2013 05:56:00 -0700 (PDT) From: Michal Simek To: linux-kernel@vger.kernel.org Cc: Michal Simek , Michal Simek , Arnd Bergmann , Timur Tabi , Jean-Christophe Plagniol-Villard , Tomi Valkeinen , linux-fbdev@vger.kernel.org Subject: [PATCH v3 4/8] video: xilinxfb: Use drvdata->regs_phys instead of physaddr Date: Fri, 31 May 2013 14:55:34 +0200 Message-Id: X-Mailer: git-send-email 1.8.2.3 In-Reply-To: References: In-Reply-To: References: X-Gm-Message-State: ALoCoQnavaJgDINonoBgx7lMdcm6zcWG22ypnqtxeq+Hki7NPAezAfHSUrn/Kkfej+c/MWAptXI2 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org physaddr will be remove in the next patch. Signed-off-by: Michal Simek --- Changes in v3: - New patch in this patchset based on discussions Changes in v2: None drivers/video/xilinxfb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.8.2.3 diff --git a/drivers/video/xilinxfb.c b/drivers/video/xilinxfb.c index d94c992..1b55f18 100644 --- a/drivers/video/xilinxfb.c +++ b/drivers/video/xilinxfb.c @@ -325,7 +325,7 @@ static int xilinxfb_assign(struct device *dev, if (drvdata->flags & BUS_ACCESS_FLAG) { /* Put a banner in the log (for DEBUG) */ - dev_dbg(dev, "regs: phys=%lx, virt=%p\n", physaddr, + dev_dbg(dev, "regs: phys=%x, virt=%p\n", drvdata->regs_phys, drvdata->regs); } /* Put a banner in the log (for DEBUG) */ @@ -353,7 +353,7 @@ err_fbmem: err_map: if (drvdata->flags & BUS_ACCESS_FLAG) - release_mem_region(physaddr, 8); + release_mem_region(drvdata->regs_phys, 8); err_region: kfree(drvdata);