From patchwork Wed Jul 25 12:05:32 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 1237001 Return-Path: X-Original-To: patchwork-linux-omap@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 32966DFFCD for ; Wed, 25 Jul 2012 12:09:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932989Ab2GYMJC (ORCPT ); Wed, 25 Jul 2012 08:09:02 -0400 Received: from na3sys009aog122.obsmtp.com ([74.125.149.147]:60578 "EHLO na3sys009aog122.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932956Ab2GYMJA (ORCPT ); Wed, 25 Jul 2012 08:09:00 -0400 Received: from mail-lpp01m010-f42.google.com ([209.85.215.42]) (using TLSv1) by na3sys009aob122.postini.com ([74.125.148.12]) with SMTP ID DSNKUA/h2uIVWih2VxzViEI55RyOCumuERKv@postini.com; Wed, 25 Jul 2012 05:08:59 PDT Received: by lago2 with SMTP id o2so404891lag.15 for ; Wed, 25 Jul 2012 05:08:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=jNMX9DKrazIg9ohTdT8siu/jSJonORKZk30RV/H1+/I=; b=H0Fbg1YTN/3pj6jBJOsGRN5vt2mKP4U0g3bAJKdr3Gf7WPOnPmiyctYaEXl8GA6sVL 9hD9GhwOltV9zOadInVsoeM7YnG14CePEsxsBuh7IW326UYwjtZLDXgAMjpeFK1l/DRm g9l9TFlx1I8yDtzEeX/Zyz3c9MbDOWViYSm3hQ5zLHdMpuF8+imeyeva7bRff5boRGt0 MspGxIWy7qkqqV7J/GPHTgqHf8Mczig5kXaa/i6cLFCWbNMFAUEbOVTiSMco984eF8VQ y4VUUleeuRvmANhzvdmbOlVA/u8Qk1S2XSSlmvzK3CAtF10/KhbOsGmvBDy3h+Uoh2zV u6Sg== Received: by 10.152.112.138 with SMTP id iq10mr2277410lab.13.1343218137437; Wed, 25 Jul 2012 05:08:57 -0700 (PDT) Received: from localhost (cs78217178.pp.htv.fi. [62.78.217.178]) by mx.google.com with ESMTPS id lv13sm19379767lab.8.2012.07.25.05.08.56 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 25 Jul 2012 05:08:56 -0700 (PDT) From: Felipe Balbi To: zbr@ioremap.net Cc: Linux Kernel Mailing List , Linux OMAP Mailing List , Felipe Balbi Subject: [PATCH 6/6] w1: omap-hdq: drop ARCH dependency Date: Wed, 25 Jul 2012 15:05:32 +0300 Message-Id: <1343217932-25372-6-git-send-email-balbi@ti.com> X-Mailer: git-send-email 1.7.11 In-Reply-To: <1343217932-25372-1-git-send-email-balbi@ti.com> References: <1343217932-25372-1-git-send-email-balbi@ti.com> X-Gm-Message-State: ALoCoQnNaF6upyW29zYEQRnc2DmAk4xmh55vzq68ysfIqe3BzNt8210ihxsa1UCvjHHM0eGF128M Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Let the driver compile everywhere while also removing unnecessary headers. Signed-off-by: Felipe Balbi --- drivers/w1/masters/Kconfig | 1 - drivers/w1/masters/omap_hdq.c | 3 --- 2 files changed, 4 deletions(-) diff --git a/drivers/w1/masters/Kconfig b/drivers/w1/masters/Kconfig index 5ceb1cd..7e98403 100644 --- a/drivers/w1/masters/Kconfig +++ b/drivers/w1/masters/Kconfig @@ -60,7 +60,6 @@ config W1_MASTER_GPIO config HDQ_MASTER_OMAP tristate "OMAP HDQ driver" - depends on ARCH_OMAP2PLUS help Say Y here if you want support for the 1-wire or HDQ Interface on an OMAP processor. diff --git a/drivers/w1/masters/omap_hdq.c b/drivers/w1/masters/omap_hdq.c index 778a65d..771875d 100644 --- a/drivers/w1/masters/omap_hdq.c +++ b/drivers/w1/masters/omap_hdq.c @@ -18,9 +18,6 @@ #include #include -#include -#include - #include "../w1.h" #include "../w1_int.h"