Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96869
b: refs/heads/master
c: eb98630
h: refs/heads/master
i:
  96867: 19bdb60
v: v3
  • Loading branch information
Geert Uytterhoeven authored and Linus Torvalds committed May 18, 2008
1 parent 942013c commit 83f9814
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0f734484ac51711f6b9e48b42242e19e88eb2926
refs/heads/master: eb98630ba02f6a23a2d202be082757a9e9940b2b
4 changes: 4 additions & 0 deletions trunk/drivers/input/keyboard/hilkbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,10 @@ hil_keyb_init(void)
return -ENOMEM;

#if defined(CONFIG_HP300)
if (!MACH_IS_HP300) {
err = -ENODEV;
goto err1;
}
if (!hwreg_present((void *)(HILBASE + HIL_DATA))) {
printk(KERN_ERR "HIL: hardware register was not found\n");
err = -ENODEV;
Expand Down
5 changes: 5 additions & 0 deletions trunk/drivers/input/misc/hp_sdc_rtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,11 @@ static int __init hp_sdc_rtc_init(void)
{
int ret;

#ifdef __mc68000__
if (!MACH_IS_HP300)
return -ENODEV;
#endif

init_MUTEX(&i8042tregs);

if ((ret = hp_sdc_request_timer_irq(&hp_sdc_rtc_isr)))
Expand Down
5 changes: 5 additions & 0 deletions trunk/drivers/input/serio/hp_sdc_mlc.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,11 @@ static int __init hp_sdc_mlc_init(void)
{
hil_mlc *mlc = &hp_sdc_mlc;

#ifdef __mc68000__
if (!MACH_IS_HP300)
return -ENODEV;
#endif

printk(KERN_INFO PREFIX "Registering the System Domain Controller's HIL MLC.\n");

hp_sdc_mlc_priv.emtestmode = 0;
Expand Down

0 comments on commit 83f9814

Please sign in to comment.