Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa89ed9e authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman
Browse files

char: remove use of __devinitconst



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

Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0bbed20e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -799,7 +799,7 @@ static int mbcs_remove(struct cx_dev *dev)
	return 0;
	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,
	 .part_num = MBCS_PART_NUM,
	 .mfg_num = MBCS_MFG_NUM,
	 .mfg_num = MBCS_MFG_NUM,
+2 −2
Original line number Original line Diff line number Diff line
@@ -785,7 +785,7 @@ static inline int hwicap_of_probe(struct platform_device *op,
}
}
#endif /* CONFIG_OF */
#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)
static int hwicap_drv_probe(struct platform_device *pdev)
{
{
	const struct of_device_id *match;
	const struct of_device_id *match;
@@ -829,7 +829,7 @@ static int __devexit hwicap_drv_remove(struct platform_device *pdev)


#ifdef CONFIG_OF
#ifdef CONFIG_OF
/* Match table for device tree binding */
/* 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,opb-hwicap-1.00.b", .data = &buffer_icap_config},
	{ .compatible = "xlnx,xps-hwicap-1.00.a", .data = &fifo_icap_config},
	{ .compatible = "xlnx,xps-hwicap-1.00.a", .data = &fifo_icap_config},
	{},
	{},