summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/pseries-rng.c
diff options
context:
space:
mode:
authorKevin Hilman <khilman@linaro.org>2013-12-20 17:59:04 +0100
committerKevin Hilman <khilman@linaro.org>2013-12-20 17:59:30 +0100
commit490b929d42d2a321887f9538a83fc9f215675f15 (patch)
tree04fe7161f92c568839605f92c8f1c8730216f739 /drivers/char/hw_random/pseries-rng.c
parentMerge branch 'berlin/soc' into next/soc (diff)
parentARM: device trees for Energy Micro's EFM32 Cortex-M3 SoCs (diff)
downloadlinux-490b929d42d2a321887f9538a83fc9f215675f15.tar.xz
linux-490b929d42d2a321887f9538a83fc9f215675f15.zip
Merge branch 'efm32/soc' into next/soc
From Uwe Kleine-König: * efm32/soc: (1003 commits) ARM: device trees for Energy Micro's EFM32 Cortex-M3 SoCs ARM: new platform for Energy Micro's EFM32 Cortex-M3 SoCs +Linux 3.13-rc4 Signed-off-by: Kevin Hilman <khilman@linaro.org>
Diffstat (limited to 'drivers/char/hw_random/pseries-rng.c')
-rw-r--r--drivers/char/hw_random/pseries-rng.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/char/hw_random/pseries-rng.c b/drivers/char/hw_random/pseries-rng.c
index b761459a3436..ab7ffdec0ec3 100644
--- a/drivers/char/hw_random/pseries-rng.c
+++ b/drivers/char/hw_random/pseries-rng.c
@@ -24,7 +24,6 @@
#include <linux/hw_random.h>
#include <asm/vio.h>
-#define MODULE_NAME "pseries-rng"
static int pseries_rng_data_read(struct hwrng *rng, u32 *data)
{
@@ -55,7 +54,7 @@ static unsigned long pseries_rng_get_desired_dma(struct vio_dev *vdev)
};
static struct hwrng pseries_rng = {
- .name = MODULE_NAME,
+ .name = KBUILD_MODNAME,
.data_read = pseries_rng_data_read,
};
@@ -78,7 +77,7 @@ static struct vio_device_id pseries_rng_driver_ids[] = {
MODULE_DEVICE_TABLE(vio, pseries_rng_driver_ids);
static struct vio_driver pseries_rng_driver = {
- .name = MODULE_NAME,
+ .name = KBUILD_MODNAME,
.probe = pseries_rng_probe,
.remove = pseries_rng_remove,
.get_desired_dma = pseries_rng_get_desired_dma,