[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>
This commit is contained in:
Olof Johansson
2007-11-04 20:57:45 -06:00
parent 2dd3c00160
commit 0d08a84770
7 changed files with 28 additions and 14 deletions

View File

@ -333,7 +333,10 @@ int gpio_mdio_init(void)
{
struct device_node *np;
np = of_find_compatible_node(NULL, "gpio", "1682m-gpio");
np = of_find_compatible_node(NULL, NULL, "1682m-gpio");
if (!np)
np = of_find_compatible_node(NULL, NULL,
"pasemi,pwrficient-gpio");
if (!np)
return -ENODEV;
gpio_regs = of_iomap(np, 0);