Skip to content

Commit

Permalink
char: remove use of __devinitconst
Browse files Browse the repository at this point in the history
CONFIG_HOTPLUG is going away as an option so __devinitconst is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Nov 21, 2012
1 parent 0bbed20 commit aa89ed9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/char/mbcs.c
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ static int mbcs_remove(struct cx_dev *dev)
return 0;
}

static const struct cx_device_id __devinitconst mbcs_id_table[] = {
static const struct cx_device_id mbcs_id_table[] = {
{
.part_num = MBCS_PART_NUM,
.mfg_num = MBCS_MFG_NUM,
Expand Down
4 changes: 2 additions & 2 deletions drivers/char/xilinx_hwicap/xilinx_hwicap.c
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ static inline int hwicap_of_probe(struct platform_device *op,
}
#endif /* CONFIG_OF */

static const struct of_device_id __devinitconst hwicap_of_match[];
static const struct of_device_id hwicap_of_match[];
static int hwicap_drv_probe(struct platform_device *pdev)
{
const struct of_device_id *match;
Expand Down Expand Up @@ -829,7 +829,7 @@ static int __devexit hwicap_drv_remove(struct platform_device *pdev)

#ifdef CONFIG_OF
/* Match table for device tree binding */
static const struct of_device_id __devinitconst hwicap_of_match[] = {
static const struct of_device_id hwicap_of_match[] = {
{ .compatible = "xlnx,opb-hwicap-1.00.b", .data = &buffer_icap_config},
{ .compatible = "xlnx,xps-hwicap-1.00.a", .data = &fifo_icap_config},
{},
Expand Down

0 comments on commit aa89ed9

Please sign in to comment.