aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/gpio-nct5104d/src/gpio-nct5104d.c
diff options
context:
space:
mode:
authorLukáš Mrtvý <lukas.mrtvy@gmail.com>2018-07-11 11:33:55 +0200
committerJohn Crispin <john@phrozen.org>2018-07-12 08:51:27 +0200
commitd3b8e6b2a77de8b3d5724534714ecdfd8fa6d50c (patch)
treef10261b1d61d78fe0814759de5a4392080273a53 /package/kernel/gpio-nct5104d/src/gpio-nct5104d.c
parentaf70d86d6285cab0c06e4fde0f4e0f4b12009c62 (diff)
downloadupstream-d3b8e6b2a77de8b3d5724534714ecdfd8fa6d50c.tar.gz
upstream-d3b8e6b2a77de8b3d5724534714ecdfd8fa6d50c.tar.bz2
upstream-d3b8e6b2a77de8b3d5724534714ecdfd8fa6d50c.zip
kernel: gpio-nct5104d remove boardname check
'In different versions of coreboot are different names of apu boardname. No need to check boardname to load module.' Signed-off-by: Lukáš Mrtvý <lukas.mrtvy@gmail.com>
Diffstat (limited to 'package/kernel/gpio-nct5104d/src/gpio-nct5104d.c')
-rw-r--r--package/kernel/gpio-nct5104d/src/gpio-nct5104d.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/package/kernel/gpio-nct5104d/src/gpio-nct5104d.c b/package/kernel/gpio-nct5104d/src/gpio-nct5104d.c
index c139cf8d20..8da7580562 100644
--- a/package/kernel/gpio-nct5104d/src/gpio-nct5104d.c
+++ b/package/kernel/gpio-nct5104d/src/gpio-nct5104d.c
@@ -434,11 +434,6 @@ static int __init nct5104d_gpio_init(void)
const char *board_vendor = dmi_get_system_info(DMI_BOARD_VENDOR);
const char *board_name = dmi_get_system_info(DMI_BOARD_NAME);
- /* Make sure we only run on PC Engine APU boards */
- if (!board_name || !board_vendor || strcasecmp(board_vendor, "PC Engines") || strncasecmp(board_name, "apu", 3)) {
- return -ENODEV;
- }
-
if (nct5104d_find(0x2e, &sio) &&
nct5104d_find(0x4e, &sio))
return -ENODEV;