Commit 570242a1 authored by Keith M. Wesolowski's avatar Keith M. Wesolowski

[SBUS]: Fix sound build if CONFIG_SBUS is set

parent b1ca18b7
...@@ -790,7 +790,7 @@ static int snd_mem_proc_read(char *page, char **start, off_t off, ...@@ -790,7 +790,7 @@ static int snd_mem_proc_read(char *page, char **start, off_t off,
case SNDRV_DMA_TYPE_SBUS: case SNDRV_DMA_TYPE_SBUS:
{ {
struct sbus_dev *sdev = (struct sbus_dev *)(mem->dev.dev); struct sbus_dev *sdev = (struct sbus_dev *)(mem->dev.dev);
len += sprintf(page + len, "SBUS [%x]", sbus->slot); len += sprintf(page + len, "SBUS [%x]", sdev->slot);
} }
break; break;
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment