diff options
Diffstat (limited to 'arch/m68k/mac/via.c')
-rw-r--r-- | arch/m68k/mac/via.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/m68k/mac/via.c b/arch/m68k/mac/via.c index 7d97ba54536e..11bce3cb6482 100644 --- a/arch/m68k/mac/via.c +++ b/arch/m68k/mac/via.c | |||
@@ -645,3 +645,12 @@ int via_irq_pending(int irq) | |||
645 | } | 645 | } |
646 | return 0; | 646 | return 0; |
647 | } | 647 | } |
648 | |||
649 | void via1_set_head(int head) | ||
650 | { | ||
651 | if (head == 0) | ||
652 | via1[vBufA] &= ~VIA1A_vHeadSel; | ||
653 | else | ||
654 | via1[vBufA] |= VIA1A_vHeadSel; | ||
655 | } | ||
656 | EXPORT_SYMBOL(via1_set_head); | ||