/* Copy an openpromio structure in kernel space back to user space.  */
static int copyout(void __user *info, struct openpromio *opp, int len)
/* Copy an openpromio structure in kernel space back to user space.  */
static int copyout(void __user *info, struct openpromio *opp, int len)
{
	if (copy_to_user(info, opp, len))
		return -EFAULT;
	return 0;
}