aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-04-15 09:42:37 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-15 10:03:21 -0700
commitaf0f3a56fa680fd6e2d88d4d02e3676f0607cebd (patch)
tree89017b8592c35eb259827081accad1247bf21a27 /drivers
parentmei: wd: fix line over 80 characters (diff)
downloadlinux-dev-af0f3a56fa680fd6e2d88d4d02e3676f0607cebd.tar.xz
linux-dev-af0f3a56fa680fd6e2d88d4d02e3676f0607cebd.zip
scsi: pcmcia: nsp_cs: remove module init/exit function prototypes
This driver now uses the module_pcmcia_driver() macro to supply the init/exit code. The nsp_cs_{init,exit} prototypes should be removed. Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: YOKOTA Hiroshi <yokota@netlab.is.tsukuba.ac.jp> Cc: "James E.J. Bottomley" <JBottomley@parallels.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/pcmcia/nsp_cs.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/pcmcia/nsp_cs.h b/drivers/scsi/pcmcia/nsp_cs.h
index 7fc9a9d0a448..4d4b4f53f3ab 100644
--- a/drivers/scsi/pcmcia/nsp_cs.h
+++ b/drivers/scsi/pcmcia/nsp_cs.h
@@ -331,10 +331,6 @@ static struct Scsi_Host *nsp_detect(struct scsi_host_template *sht);
/* Interrupt handler */
//static irqreturn_t nspintr(int irq, void *dev_id);
-/* Module entry point*/
-static int __init nsp_cs_init(void);
-static void __exit nsp_cs_exit(void);
-
/* Debug */
#ifdef NSP_DEBUG
static void show_command (struct scsi_cmnd *SCpnt);