From patchwork Tue Aug 7 09:59:06 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 10558 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 8B9E424000 for ; Tue, 7 Aug 2012 10:00:36 +0000 (UTC) Received: from mail-gg0-f180.google.com (mail-gg0-f180.google.com [209.85.161.180]) by fiordland.canonical.com (Postfix) with ESMTP id 49984A180EA for ; Tue, 7 Aug 2012 10:00:36 +0000 (UTC) Received: by ggnf1 with SMTP id f1so3470327ggn.11 for ; Tue, 07 Aug 2012 03:00:35 -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:x-gm-message-state; bh=BA8t1u46wv2oQFW7wjOfqtdmoBMjKzAohlCfDfmsbLE=; b=aMwYL8JVsTTOQAseMqIgnROhGlInf1SDh4gAJdNu3Nj4XCzHipbY2XfIHxyfZlmynu sl0GA9QIRTHDxsCeQt3Tw0FzdxoUIWETaIAZO5n91OLcQmaZr9X30ZkGagtzXQZ/Pelp samZgGK0ar83E32ls8D73uUUfTR79YPuneUIjYodx5Vf2UDHC/qZVr3I62bvJOmCfugf HmION6sLNULkqS6eatbygE9YyyqZs/2UwLO2jUO0RceXHduNntNRdrz5TQ5oKorKVK5P az+XvqeHjYhv29KUUfDA8c+xrmYuQqWPtFCoPh1VOJKrMykITmS8ksKbMNBDCI3hv1fS qBrw== Received: by 10.50.187.130 with SMTP id fs2mr397238igc.51.1344333635537; Tue, 07 Aug 2012 03:00:35 -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.50.87.40 with SMTP id u8csp488821igz; Tue, 7 Aug 2012 03:00:35 -0700 (PDT) Received: by 10.68.219.226 with SMTP id pr2mr26387935pbc.1.1344333634677; Tue, 07 Aug 2012 03:00:34 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id tf5si24934408pbc.306.2012.08.07.03.00.34 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 07 Aug 2012 03:00:34 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) smtp.mail=tushar.behera@linaro.org Received: by pbcmd12 with SMTP id md12so6073019pbc.37 for ; Tue, 07 Aug 2012 03:00:34 -0700 (PDT) Received: by 10.68.203.40 with SMTP id kn8mr26428754pbc.162.1344333634316; Tue, 07 Aug 2012 03:00:34 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id hr9sm203854pbc.36.2012.08.07.03.00.31 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 07 Aug 2012 03:00:33 -0700 (PDT) From: Tushar Behera To: linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kgene.kim@samsung.com, s.hauer@pengutronix.de, patches@linaro.org Subject: [PATCH] ARM: SAMSUNG: Fix compilation error with s3c2410_defconfig Date: Tue, 7 Aug 2012 15:29:06 +0530 Message-Id: <1344333546-16995-1-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQmP6okmXiWIk8r24Aeu6vxjxm9LbDZo6Ze4ARrjIyRUD/UV6C4QX5m1e6SwBMfITMK1lgJz Commit 2663e766c56a "ARM Samsung: Move s3c pwm driver to pwm framework" moved Samsung PWM driver to drivers/pwm and the config option to select this driver has changed. This patch fixes following build-error with s3c2410_defconfig. arch/arm/mach-s3c24xx/mach-rx1950.c:430: undefined reference to `pwm_config' Signed-off-by: Tushar Behera --- arch/arm/mach-s3c24xx/Kconfig | 4 ++-- arch/arm/plat-samsung/Kconfig | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig index e249611..d56b0f7 100644 --- a/arch/arm/mach-s3c24xx/Kconfig +++ b/arch/arm/mach-s3c24xx/Kconfig @@ -483,7 +483,7 @@ config MACH_NEO1973_GTA02 select I2C select POWER_SUPPLY select MACH_NEO1973 - select S3C2410_PWM + select S3C24XX_PWM select S3C_DEV_USB_HOST help Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone @@ -493,7 +493,7 @@ config MACH_RX1950 select S3C24XX_DCLK select PM_H1940 if PM select I2C - select S3C2410_PWM + select S3C24XX_PWM select S3C_DEV_NAND select S3C2410_IOTIMING if S3C2440_CPUFREQ select S3C2440_XTAL_16934400 diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig index 7aca31c..9c3b90c 100644 --- a/arch/arm/plat-samsung/Kconfig +++ b/arch/arm/plat-samsung/Kconfig @@ -403,7 +403,8 @@ config S5P_DEV_USB_EHCI config S3C24XX_PWM bool "PWM device support" - select HAVE_PWM + select PWM + select PWM_SAMSUNG help Support for exporting the PWM timer blocks via the pwm device system