Browse Source

memory: fsl-corenet: Fix module autoload for OF platform driver

This platform driver has a OF device ID table but the OF module
alias information is not created so module autoloading won't work.

Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Acked-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Luis de Bethencourt 9 năm trước cách đây
mục cha
commit
613a91e275
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      drivers/memory/fsl-corenet-cf.c

+ 1 - 0
drivers/memory/fsl-corenet-cf.c

@@ -61,6 +61,7 @@ static const struct of_device_id ccf_matches[] = {
 	},
 	{}
 };
+MODULE_DEVICE_TABLE(of, ccf_matches);
 
 struct ccf_err_regs {
 	u32 errdet;		/* 0x00 Error Detect Register */