From patchwork Mon Aug 6 13:57:42 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dongjin Kim X-Patchwork-Id: 1279401 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 50EB7E0012 for ; Mon, 6 Aug 2012 13:59:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756319Ab2HFN6w (ORCPT ); Mon, 6 Aug 2012 09:58:52 -0400 Received: from mail-gh0-f174.google.com ([209.85.160.174]:56142 "EHLO mail-gh0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756261Ab2HFN6u (ORCPT ); Mon, 6 Aug 2012 09:58:50 -0400 Received: by ghrr11 with SMTP id r11so2487739ghr.19 for ; Mon, 06 Aug 2012 06:58:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=qEKKr7kevuU4nPNcYrpyMsjgFywujqsf+W9PU3oO5hg=; b=N6a9bplYyoadnryyeEa81t4WqDxffzcNa7BZOXvHPq+VLd/3PK86HkvhoPiE3wR9Lp DaV5e8rGAzr0zfVFy0rcBcA9O4qTyZLVlO68TFZzEkdY8m8T+62+Hjsz0y+w4rYyWEnQ waiFXaKcumm1vbUvZkcyJ8o3GxdKbtUu0Z0TOsFfNJF35aVbIIJOyj6/2KHywW9bj68X PqAgXO93v1Mb/qV3dTwMRu3Lx84RFBug6p8ypbozNmeSNTT1Ite4cFIuQEoHk25Du1LI tKb77GjzsiTFkiQZpsholo8OAzumNY2CPESDkVZi/zxT9rksSjbcI218n09fRVkXZQ+f a1TA== Received: by 10.66.84.67 with SMTP id w3mr18378364pay.83.1344261529754; Mon, 06 Aug 2012 06:58:49 -0700 (PDT) Received: from localhost.localdomain ([210.113.108.23]) by mx.google.com with ESMTPS id qi8sm9016134pbc.36.2012.08.06.06.58.47 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 06 Aug 2012 06:58:48 -0700 (PDT) From: Dongjin Kim Cc: Dongjin Kim , Jingoo Han , Florian Tobias Schandinat , linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] video: s3c-fb: Fix compile error/warning if CONFIG_OF is not selected Date: Mon, 6 Aug 2012 22:57:42 +0900 Message-Id: <1344261462-14183-5-git-send-email-dongjin.kim@agreeyamobility.net> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1344261462-14183-1-git-send-email-dongjin.kim@agreeyamobility.net> References: <1344261462-14183-1-git-send-email-dongjin.kim@agreeyamobility.net> To: unlisted-recipients:; (no To-header on input) Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org Change-Id: I5d7ff6f0070a10225d5b064b362d3d8f214787fd Signed-off-by: Dongjin Kim --- drivers/video/s3c-fb.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/video/s3c-fb.c b/drivers/video/s3c-fb.c index 8c8adb5..268be0c 100644 --- a/drivers/video/s3c-fb.c +++ b/drivers/video/s3c-fb.c @@ -1527,13 +1527,11 @@ static int s3c_fb_dt_parse_gpios(struct device *dev, struct s3c_fb *sfb, static void s3c_fb_dt_free_gpios(struct s3c_fb *sfb) { - return 0; } -static int s3c_fb_dt_parse_pdata(struct device *dev, - struct s3c_fb_platdata **pdata) +static struct s3c_fb_platdata *s3c_fb_dt_parse_pdata(struct device *dev) { - return 0; + return NULL; } #endif /* CONFIG_OF */