From patchwork Tue Aug 24 16:54:20 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Carpenter X-Patchwork-Id: 62615 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 6B41AB70A7 for ; Wed, 25 Aug 2010 02:55:08 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755793Ab0HXQzA (ORCPT ); Tue, 24 Aug 2010 12:55:00 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:56558 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755766Ab0HXQy7 (ORCPT ); Tue, 24 Aug 2010 12:54:59 -0400 Received: by wyb35 with SMTP id 35so676472wyb.19 for ; Tue, 24 Aug 2010 09:54:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=3JXn9QYetUtHf+6VYsir6VNOB/layCZkIeFEspnYQEY=; b=cOr2zXRFtKIjtBLHPIrCU+4Ofe25E+OARis8v0mxnpf+u6ns0LG51LcobCgNUTiyBO U71Ck3Eqj8t7819+qTF8atqgUaiecGEOLCzj8VFb1EJpxSTZ3UZZQtyhDieArND6H5hp iigAfAxBWHxs6wIan8pXNAIt6yEsWIqq7GPbw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=GcGK6He4bK4b5d6x+SWOV0/EBd1zBoiOMsZR9TjgqiAmjBLKbah3yrV9LuVPPe5rGo A8ktOLQ0VzKX4QgQ1iecUMaV36titRJftsEn8YJe6H5SMfA/aadO43oUcgSQnuiDy/mV 6JbGZoXOzSFg+uwxW6afOLEI3PwEqwFS0kjC4= Received: by 10.227.142.136 with SMTP id q8mr6294665wbu.95.1282668877000; Tue, 24 Aug 2010 09:54:37 -0700 (PDT) Received: from bicker ([41.205.146.22]) by mx.google.com with ESMTPS id n17sm208517weq.30.2010.08.24.09.54.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 24 Aug 2010 09:54:36 -0700 (PDT) Date: Tue, 24 Aug 2010 18:54:20 +0200 From: Dan Carpenter To: Sachin Sanap Cc: "David S. Miller" , netdev@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: [patch 3/4] pxa168_eth: update call to phy_mii_ioctl() Message-ID: <20100824165420.GJ29330@bicker> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org The phy_mii_ioctl() function changed recently. It now takes a struct ifreq pointer directly. Signed-off-by: Dan Carpenter --- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/net/pxa168_eth.c b/drivers/net/pxa168_eth.c index 302fb48..f324b76 100644 --- a/drivers/net/pxa168_eth.c +++ b/drivers/net/pxa168_eth.c @@ -1350,7 +1350,7 @@ static int pxa168_eth_do_ioctl(struct net_device *dev, struct ifreq *ifr, { struct pxa168_eth_private *pep = netdev_priv(dev); if (pep->phy != NULL) - return phy_mii_ioctl(pep->phy, if_mii(ifr), cmd); + return phy_mii_ioctl(pep->phy, ifr, cmd); return -EOPNOTSUPP; }