From patchwork Thu Nov 24 09:48:18 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jamie Iles X-Patchwork-Id: 127459 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 6A2C41007D7 for ; Thu, 24 Nov 2011 20:48:32 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755267Ab1KXJs0 (ORCPT ); Thu, 24 Nov 2011 04:48:26 -0500 Received: from mail-yx0-f174.google.com ([209.85.213.174]:38389 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755131Ab1KXJsZ (ORCPT ); Thu, 24 Nov 2011 04:48:25 -0500 Received: by yenl6 with SMTP id l6so7646yen.19 for ; Thu, 24 Nov 2011 01:48:25 -0800 (PST) Received: by 10.152.110.99 with SMTP id hz3mr17044401lab.29.1322128104868; Thu, 24 Nov 2011 01:48:24 -0800 (PST) Received: from localhost ([94.72.250.67]) by mx.google.com with ESMTPS id me18sm18747582lab.10.2011.11.24.01.48.23 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 24 Nov 2011 01:48:24 -0800 (PST) From: Jamie Iles To: netdev@vger.kernel.org Cc: Jamie Iles , Jean-Christophe PLAGNIOL-VILLARD , Nicolas Ferre Subject: [PATCH] macb: convert platform data phy_irq_pin to an int Date: Thu, 24 Nov 2011 09:48:18 +0000 Message-Id: <1322128098-17724-1-git-send-email-jamie@jamieiles.com> X-Mailer: git-send-email 1.7.4.1 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org AT91 platforms have been updated to set the phy_irq_pin to -EINVAL if not present, but phy_irq_pin is currently a u8. Reported-by: Stephen Rothwell Cc: Jean-Christophe PLAGNIOL-VILLARD Cc: Nicolas Ferre Signed-off-by: Jamie Iles Acked-by: Nicolas Ferre --- include/linux/platform_data/macb.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/platform_data/macb.h b/include/linux/platform_data/macb.h index e7c748f..b081c72 100644 --- a/include/linux/platform_data/macb.h +++ b/include/linux/platform_data/macb.h @@ -10,7 +10,7 @@ struct macb_platform_data { u32 phy_mask; - u8 phy_irq_pin; /* PHY IRQ */ + int phy_irq_pin; /* PHY IRQ */ u8 is_rmii; /* using RMII interface? */ };