[BACK]Return to finddevice.c CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / arch / ppc / boot / of1275

File: [Development] / linux-2.6-xfs / arch / ppc / boot / of1275 / Attic / finddevice.c (download)

Revision 1.2, Mon Dec 5 21:19:08 2005 UTC (11 years, 10 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.1: +2 -17 lines

Merge up to 2.6.15-rc5.
Merge of 2.6.x-xfs-melb:linux:24672a by kenmcd.

/*
 * Copyright (C) Paul Mackerras 1997.
 * Copyright (C) Leigh Brown 2002.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version
 * 2 of the License, or (at your option) any later version.
 */

#include "of1275.h"

phandle finddevice(const char *name)
{
	return (phandle) call_prom("finddevice", 1, 1, name);
}