]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
gpio/misc: Add MODULE_ALIAS entries for CS5535 functions
authorAndres Salomon <dilinger@queued.net>
Thu, 2 Dec 2010 03:55:10 +0000 (19:55 -0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 14 Jan 2011 11:37:45 +0000 (12:37 +0100)
This adds MODULE_ALIAS entries to the various cs5535 subdevice modules; this
allows the modules to automatically be loaded when cs5535-mfd loads.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/gpio/cs5535-gpio.c
drivers/misc/cs5535-mfgpt.c

index 70967e23bc3d5311a962a50e0165d067bb851cfb..f9813ef48534bfb0db41ff9076bd9ec6cd36c2e9 100644 (file)
@@ -399,3 +399,4 @@ module_exit(cs5535_gpio_exit);
 MODULE_AUTHOR("Andres Salomon <dilinger@queued.net>");
 MODULE_DESCRIPTION("AMD CS5535/CS5536 GPIO driver");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:" DRV_NAME);
index 499bd64e4d1d2f00b35c227ec2785c894b1a041e..26693060b29bdd1da5d847881038cbed9fcedbf6 100644 (file)
@@ -349,3 +349,4 @@ module_init(cs5535_mfgpt_init);
 MODULE_AUTHOR("Andres Salomon <dilinger@queued.net>");
 MODULE_DESCRIPTION("CS5535/CS5536 MFGPT timer driver");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:" DRV_NAME);