From patchwork Mon Oct 12 22:13:32 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Chary X-Patchwork-Id: 53243 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9CMTwMw002820 for ; Mon, 12 Oct 2009 22:29:59 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933446AbZJLWNX (ORCPT ); Mon, 12 Oct 2009 18:13:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933447AbZJLWNX (ORCPT ); Mon, 12 Oct 2009 18:13:23 -0400 Received: from iksaif.net ([88.191.73.63]:54313 "EHLO iksaif.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933446AbZJLWNW (ORCPT ); Mon, 12 Oct 2009 18:13:22 -0400 Received: from localhost.localdomain (cxr69-11-88-180-139-205.fbx.proxad.net [88.180.139.205]) (Authenticated sender: corentincj@iksaif.net) by iksaif.net (Postfix) with ESMTPA id 212BEC9002F; Tue, 13 Oct 2009 00:12:37 +0200 (CEST) From: Corentin Chary To: lenb@kernel.org Cc: linux-acpi@vger.kernel.org, Rakib Mullick , Corentin Chary Subject: [PATCH 1/2] eeepc-laptop: Properly annote eeepc_enable_camera(). Date: Tue, 13 Oct 2009 00:13:32 +0200 Message-Id: <1255385613-25400-2-git-send-email-corentincj@iksaif.net> X-Mailer: git-send-email 1.6.5.rc2 In-Reply-To: <1255385613-25400-1-git-send-email-corentincj@iksaif.net> References: <1255385613-25400-1-git-send-email-corentincj@iksaif.net> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c index b77d758..879b2e9 100644 --- a/drivers/platform/x86/eeepc-laptop.c +++ b/drivers/platform/x86/eeepc-laptop.c @@ -351,7 +351,7 @@ static const struct rfkill_ops eeepc_rfkill_ops = { .set_block = eeepc_rfkill_set, }; -static void __init eeepc_enable_camera(void) +static void __devinit eeepc_enable_camera(void) { /* * If the following call to set_acpi() fails, it's because there's no @@ -1249,7 +1249,7 @@ static int eeepc_led_init(struct device *dev) return 0; } -static int eeepc_hotk_add(struct acpi_device *device) +static int __devinit eeepc_hotk_add(struct acpi_device *device) { struct device *dev; int result;