lkml.org 
[lkml]   [2009]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 08/34] move initio_remove_one to .devexit.text
    Date
    The function initio_remove_one is used only wrapped by __devexit_p so
    define it using __devexit.

    Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
    Cc: James E.J. Bottomley <James.Bottomley@suse.de>
    Cc: Yang Hongyang <yanghy@cn.fujitsu.com>
    Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Alan Cox <alan@redhat.com>
    Cc: linux-scsi@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    ---
    drivers/scsi/initio.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/scsi/initio.c b/drivers/scsi/initio.c
    index 89a5948..8bbfd99 100644
    --- a/drivers/scsi/initio.c
    +++ b/drivers/scsi/initio.c
    @@ -2964,7 +2964,7 @@ out_disable_device:
    * finished being used.
    */

    -static void initio_remove_one(struct pci_dev *pdev)
    +static void __devexit initio_remove_one(struct pci_dev *pdev)
    {
    struct Scsi_Host *host = pci_get_drvdata(pdev);
    struct initio_host *s = (struct initio_host *)host->hostdata;
    --
    1.6.4.3
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2009-10-01 10:33    [W:0.044 / U:0.144 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site