/* ipath_get_npkeys - return the size of the PKEY table for port 0 @dd: the infinipath device  */
unsigned ipath_get_npkeys(struct ipath_devdata *dd)
/* ipath_get_npkeys - return the size of the PKEY table for port 0 @dd: the infinipath device  */
unsigned ipath_get_npkeys(struct ipath_devdata *dd)
{
	return ARRAY_SIZE(dd->ipath_pd[0]->port_pkeys);
}