/* get_pkeys - return the PKEY table for port 0 @dd: the infinipath device @pkeys: the pkey table is placed here  */
static int get_pkeys(struct ipath_devdata *dd, u16 *pkeys)
/* get_pkeys - return the PKEY table for port 0 @dd: the infinipath device @pkeys: the pkey table is placed here  */
static int get_pkeys(struct ipath_devdata *dd, u16 *pkeys)
{
	struct ipath_portdata *pd = dd->ipath_pd[0];
	memcpy(pkeys, pd->port_pkeys, sizeof(pd->port_pkeys));
	return 0;
}