config.c (bf61c8840efe60fd8f91446860b63338fb424158) config.c (8c6ffba0eddc8c110dbf444f51354ce42069abfc)
1/*
2 * arch/m68k/q40/config.c
3 *
4 * Copyright (C) 1999 Richard Zidlicky
5 *
6 * originally based on:
7 *
8 * linux/bvme/config.c

--- 324 unchanged lines hidden (view full) ---

333static __init int q40_add_kbd_device(void)
334{
335 struct platform_device *pdev;
336
337 if (!MACH_IS_Q40)
338 return -ENODEV;
339
340 pdev = platform_device_register_simple("q40kbd", -1, NULL, 0);
1/*
2 * arch/m68k/q40/config.c
3 *
4 * Copyright (C) 1999 Richard Zidlicky
5 *
6 * originally based on:
7 *
8 * linux/bvme/config.c

--- 324 unchanged lines hidden (view full) ---

333static __init int q40_add_kbd_device(void)
334{
335 struct platform_device *pdev;
336
337 if (!MACH_IS_Q40)
338 return -ENODEV;
339
340 pdev = platform_device_register_simple("q40kbd", -1, NULL, 0);
341 return PTR_RET(pdev);
341 return PTR_ERR_OR_ZERO(pdev);
342}
343arch_initcall(q40_add_kbd_device);
342}
343arch_initcall(q40_add_kbd_device);