فهرست منبع

staging: crystalhd: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Bill Pemberton 13 سال پیش
والد
کامیت
fdfa2339c1
2فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 1 1
      drivers/staging/crystalhd/crystalhd_cmds.c
  2. 3 3
      drivers/staging/crystalhd/crystalhd_lnx.c

+ 1 - 1
drivers/staging/crystalhd/crystalhd_cmds.c

@@ -986,7 +986,7 @@ enum BC_STATUS crystalhd_setup_cmd_context(struct crystalhd_cmd *ctx,
  *
  *
  * Called at the time of driver un-load.
  * Called at the time of driver un-load.
  */
  */
-enum BC_STATUS __devexit crystalhd_delete_cmd_context(struct crystalhd_cmd *ctx)
+enum BC_STATUS crystalhd_delete_cmd_context(struct crystalhd_cmd *ctx)
 {
 {
 	BCMLOG(BCMLOG_DBG, "Deleting Command context..\n");
 	BCMLOG(BCMLOG_DBG, "Deleting Command context..\n");
 
 

+ 3 - 3
drivers/staging/crystalhd/crystalhd_lnx.c

@@ -418,7 +418,7 @@ fail:
 	return rc;
 	return rc;
 }
 }
 
 
-static void __devexit chd_dec_release_chdev(struct crystalhd_adp *adp)
+static void chd_dec_release_chdev(struct crystalhd_adp *adp)
 {
 {
 	struct crystalhd_ioctl_data *temp = NULL;
 	struct crystalhd_ioctl_data *temp = NULL;
 	if (!adp)
 	if (!adp)
@@ -496,7 +496,7 @@ static int chd_pci_reserve_mem(struct crystalhd_adp *pinfo)
 	return 0;
 	return 0;
 }
 }
 
 
-static void __devexit chd_pci_release_mem(struct crystalhd_adp *pinfo)
+static void chd_pci_release_mem(struct crystalhd_adp *pinfo)
 {
 {
 	if (!pinfo)
 	if (!pinfo)
 		return;
 		return;
@@ -511,7 +511,7 @@ static void __devexit chd_pci_release_mem(struct crystalhd_adp *pinfo)
 }
 }
 
 
 
 
-static void __devexit chd_dec_pci_remove(struct pci_dev *pdev)
+static void chd_dec_pci_remove(struct pci_dev *pdev)
 {
 {
 	struct crystalhd_adp *pinfo;
 	struct crystalhd_adp *pinfo;
 	enum BC_STATUS sts = BC_STS_SUCCESS;
 	enum BC_STATUS sts = BC_STS_SUCCESS;