/* Our interface with the rest of the world  */
static void alauda_info_destructor(void *extra)
/* Our interface with the rest of the world  */
static void alauda_info_destructor(void *extra)
{
	struct alauda_info *info = (struct alauda_info *) extra;
	int port;
	if (!info)
		return;
	for (port = 0; port < 2; port++) {
		struct alauda_media_info *media_info = &info->port[port];
		alauda_free_maps(media_info);
		kfree(media_info->lba_to_pba);
		kfree(media_info->pba_to_lba);
	}
}