facetimehd: Use the max macro from linux/kernel.h

This commit is contained in:
Patrik Jakobsson
2015-11-28 13:33:47 +01:00
parent ed773c8268
commit 4ffc88f155
2 changed files with 2 additions and 3 deletions

View File

@@ -17,6 +17,7 @@
*
*/
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/acpi.h>
#include <linux/firmware.h>
@@ -276,7 +277,7 @@ static int fthd_isp_cmd(struct fthd_private *dev_priv, enum fthd_isp_cmds comman
memset(&cmd, 0, sizeof(cmd));
if (response_len) {
len = MAX(request_len, *response_len);
len = max(request_len, *response_len);
} else {
len = request_len;
}