diff options
author | Olof Johansson <olof@lixom.net> | 2007-11-04 21:57:45 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2007-11-29 23:30:47 -0500 |
commit | 0d08a84770cb03aea24268e515342d44df8ea588 (patch) | |
tree | 91709fffba8ef377b6bada9f911e7e39f48cb649 /drivers/char | |
parent | 2dd3c0016090543e12aa0c5aee574ded6a88b886 (diff) |
[POWERPC] pasemi: Broaden specific references to 1682M
There will be more product numbers in the future than just PA6T-1682M,
but they will share much of the features. Remove some of the explicit
references and compatibility checks with 1682M, and replace most of them
with the more generic term "PWRficient".
Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Michael Buesch <mb@bu3sch.de>
Acked-by: Doug Thompson <dougthompson@xmission.com>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/hw_random/Kconfig | 2 | ||||
-rw-r--r-- | drivers/char/hw_random/pasemi-rng.c | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig index 2d7cd486e025..6bbd4fa50f3b 100644 --- a/drivers/char/hw_random/Kconfig +++ b/drivers/char/hw_random/Kconfig | |||
@@ -98,7 +98,7 @@ config HW_RANDOM_PASEMI | |||
98 | default HW_RANDOM | 98 | default HW_RANDOM |
99 | ---help--- | 99 | ---help--- |
100 | This driver provides kernel-side support for the Random Number | 100 | This driver provides kernel-side support for the Random Number |
101 | Generator hardware found on PA6T-1682M processor. | 101 | Generator hardware found on PA Semi PWRficient SoCs. |
102 | 102 | ||
103 | To compile this driver as a module, choose M here: the | 103 | To compile this driver as a module, choose M here: the |
104 | module will be called pasemi-rng. | 104 | module will be called pasemi-rng. |
diff --git a/drivers/char/hw_random/pasemi-rng.c b/drivers/char/hw_random/pasemi-rng.c index fa6040b6c8f2..24ae3073991f 100644 --- a/drivers/char/hw_random/pasemi-rng.c +++ b/drivers/char/hw_random/pasemi-rng.c | |||
@@ -126,10 +126,9 @@ static int __devexit rng_remove(struct of_device *dev) | |||
126 | } | 126 | } |
127 | 127 | ||
128 | static struct of_device_id rng_match[] = { | 128 | static struct of_device_id rng_match[] = { |
129 | { | 129 | { .compatible = "1682m-rng", }, |
130 | .compatible = "1682m-rng", | 130 | { .compatible = "pasemi,pwrficient-rng", }, |
131 | }, | 131 | { }, |
132 | {}, | ||
133 | }; | 132 | }; |
134 | 133 | ||
135 | static struct of_platform_driver rng_driver = { | 134 | static struct of_platform_driver rng_driver = { |