From patchwork Tue May 19 14:15:01 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uri Shkolnik X-Patchwork-Id: 24722 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 n4JEF7mk030242 for ; Tue, 19 May 2009 14:15:07 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752223AbZESOPD (ORCPT ); Tue, 19 May 2009 10:15:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753496AbZESOPD (ORCPT ); Tue, 19 May 2009 10:15:03 -0400 Received: from web110806.mail.gq1.yahoo.com ([67.195.13.229]:27189 "HELO web110806.mail.gq1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752223AbZESOPC (ORCPT ); Tue, 19 May 2009 10:15:02 -0400 Received: (qmail 76225 invoked by uid 60001); 19 May 2009 14:15:02 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1242742502; bh=nDJQDnHBaLkmtOu0iEho5xPFLSy9Q58RVakYYmP02DU=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=zq4pOmZ5ggSabjCQKA4P38yhvY5BFJ62tuIXcfJFYI391IpKtcVnGNQLnPkD/OmGT/xhSEAo5T+jJELFsgfM26tXLNDjg6Ck3/tr/lYV5D9UG6dgPXNRPcaqvCB2ULcOtvU+xOxqjZzh57jK2QHATnnpkX1jXhiJasTM0uD1DiE= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=fMbxo5VKamZT50kE3YXIHpuIy5O8uIaCRgDeSpPks6W1A7ZeL5zpECj334uhrocPWfG1PX38aeTmJ7PT3Q68HUmausHiaOyTAlHfUn+DX6EZ23cMTmiZY1PYgcp2Ac8WQt4aYC6Nm3RxSfgHVOWr4EIJxuNsbubn4mFHeKr/qhQ=; Message-ID: <518988.76052.qm@web110806.mail.gq1.yahoo.com> X-YMail-OSG: bm_UpYAVM1lc0bAcCWlT6f3VziD3OaX8GzUZHzO5gvVdbjAavPjTNPFPUSt1rH1VWsoXOln8ydGSPM_wNj_eYWAQS84XAPIO4.WrlxjxdzrAFB0XGvdyort7ZKcENrGRpkNEsz6lo71EgQq9s2uN6umGFUwEfQt_4L6BBokPMPnfWWA5v.4oUwEXEo.UACu66dKWuNBlDIqgU0coWKBuqHOcCytaQnq.fDiOLNQ73AQHT18MAMeUSyLefX72vMpyMMm43UxMIgCsOgjqmMvroh3KZvHOpPPhQN_tNBnhd62xUhFCdQYK5EbR_DBTGA1XbNZbM66N7EENQQVPLXAD.GOYVtJC571idVY1b3nAWEk_XY.lW9kBhgZM7A-- Received: from [199.203.99.233] by web110806.mail.gq1.yahoo.com via HTTP; Tue, 19 May 2009 07:15:01 PDT X-Mailer: YahooMailClassic/5.3.9 YahooMailWebService/0.7.289.10 Date: Tue, 19 May 2009 07:15:01 -0700 (PDT) From: Uri Shkolnik Subject: [PATCH] [09051_43] Siano: smssdio - revert to stand alone module To: LinuxML MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org # HG changeset patch # User Uri Shkolnik # Date 1242739840 -10800 # Node ID 08e292f80f37496d8d4b43a542f518196eaa4dc0 # Parent f8e348f2f312e23c42b263738d555221fba844b2 [09051_43] Siano: smssdio - revert to stand alone module From: Uri Shkolnik Make the SDIO interface driver a stand alone module. Priority: normal Signed-off-by: Uri Shkolnik --- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff -r f8e348f2f312 -r 08e292f80f37 linux/drivers/media/dvb/siano/smssdio.c --- a/linux/drivers/media/dvb/siano/smssdio.c Tue May 19 15:56:27 2009 +0300 +++ b/linux/drivers/media/dvb/siano/smssdio.c Tue May 19 16:30:40 2009 +0300 @@ -332,7 +332,7 @@ static struct sdio_driver smssdio_driver /* Module functions */ /*******************************************************************/ -int smssdio_register(void) +int smssdio_module_init(void) { int ret = 0; @@ -344,11 +344,14 @@ int smssdio_register(void) return ret; } -void smssdio_unregister(void) +void smssdio_module_exit(void) { sdio_unregister_driver(&smssdio_driver); } +module_init(smssdio_module_init); +module_exit(smssdio_module_exit); + MODULE_DESCRIPTION("Siano SMS1xxx SDIO driver"); MODULE_AUTHOR("Pierre Ossman"); MODULE_LICENSE("GPL");