Skip to content

Commit 03cb00b

Browse files
committed
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mattst88/alpha
Pull alpha fixes from Matt Turner: "My alpha tree is back up (after taking quite some time to get my GPG key signed). It contains just some simple fixes." * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mattst88/alpha: alpha: silence 'const' warning in sys_marvel.c alpha: include module.h to fix modpost on Tsunami alpha: properly define get/set_rtc_time on Marvel/SMP alpha: VGA_HOSE depends on VGA_CONSOLE
2 parents 49a5f3c + 2f2be27 commit 03cb00b

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

arch/alpha/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ config ALPHA_BROKEN_IRQ_MASK
477477

478478
config VGA_HOSE
479479
bool
480-
depends on ALPHA_GENERIC || ALPHA_TITAN || ALPHA_MARVEL || ALPHA_TSUNAMI
480+
depends on VGA_CONSOLE && (ALPHA_GENERIC || ALPHA_TITAN || ALPHA_MARVEL || ALPHA_TSUNAMI)
481481
default y
482482
help
483483
Support VGA on an arbitrary hose; needed for several platforms

arch/alpha/include/asm/rtc.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
#ifndef _ALPHA_RTC_H
22
#define _ALPHA_RTC_H
33

4-
#if defined(CONFIG_ALPHA_GENERIC)
4+
#if defined(CONFIG_ALPHA_MARVEL) && defined(CONFIG_SMP) \
5+
|| defined(CONFIG_ALPHA_GENERIC)
56
# define get_rtc_time alpha_mv.rtc_get_time
67
# define set_rtc_time alpha_mv.rtc_set_time
7-
#else
8-
# if defined(CONFIG_ALPHA_MARVEL) && defined(CONFIG_SMP)
9-
# define get_rtc_time marvel_get_rtc_time
10-
# define set_rtc_time marvel_set_rtc_time
11-
# endif
128
#endif
139

1410
#include <asm-generic/rtc.h>

arch/alpha/kernel/core_tsunami.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <asm/core_tsunami.h>
1212
#undef __EXTERN_INLINE
1313

14+
#include <linux/module.h>
1415
#include <linux/types.h>
1516
#include <linux/pci.h>
1617
#include <linux/sched.h>

arch/alpha/kernel/sys_marvel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ marvel_init_irq(void)
317317
}
318318

319319
static int
320-
marvel_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
320+
marvel_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
321321
{
322322
struct pci_controller *hose = dev->sysdata;
323323
struct io7_port *io7_port = hose->sysdata;

0 commit comments

Comments
 (0)