From 82437db026041954e8bb988c6d084355b5f7a518 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Tigeot?= Date: Wed, 3 Aug 2016 21:35:34 +0200 Subject: [PATCH] drm/linux: kernel_ulong_t is defined in linux/mod_devicetable.h --- sys/dev/drm/include/linux/mod_devicetable.h | 3 +++ sys/dev/drm/include/linux/types.h | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/dev/drm/include/linux/mod_devicetable.h b/sys/dev/drm/include/linux/mod_devicetable.h index b092b7021d..ac22eb042b 100644 --- a/sys/dev/drm/include/linux/mod_devicetable.h +++ b/sys/dev/drm/include/linux/mod_devicetable.h @@ -27,6 +27,9 @@ #ifndef _LINUX_MOD_DEVICETABLE_H_ #define _LINUX_MOD_DEVICETABLE_H_ +#include +typedef unsigned long kernel_ulong_t; + #define DMI_MATCH(a, b) {(a), (b)} #define DMI_EXACT_MATCH(a, b) {(a), (b)} diff --git a/sys/dev/drm/include/linux/types.h b/sys/dev/drm/include/linux/types.h index 93b11dcde8..4687e01cad 100644 --- a/sys/dev/drm/include/linux/types.h +++ b/sys/dev/drm/include/linux/types.h @@ -2,7 +2,7 @@ * Copyright (c) 2010 Isilon Systems, Inc. * Copyright (c) 2010 iX Systems, Inc. * Copyright (c) 2010 Panasas, Inc. - * Copyright (c) 2015 François Tigeot + * Copyright (c) 2015-2016 François Tigeot * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -50,7 +50,6 @@ typedef _Bool bool; typedef u64 phys_addr_t; -typedef unsigned long kernel_ulong_t; typedef unsigned int gfp_t; typedef uint64_t loff_t; typedef vm_paddr_t resource_size_t; -- 2.11.4.GIT