Commit 659c1a6c authored by Tim Gardner's avatar Tim Gardner

UBUNTU: SAUCE: amd: Include errno.h

BugLink: http://bugs.launchpad.net/bugs/1546572

Fixes compile failure on non-amd64 arches:

drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/tonga_thermal.c: In function 'tonga_fan_ctrl_get_fan_speed_percent':
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/tonga_thermal.c:80:11: error: 'EINVAL' undeclared (first use in this function)
   return -EINVAL;
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
parent 1e506856
......@@ -23,6 +23,7 @@
#ifndef _HWMGR_H_
#define _HWMGR_H_
#include <linux/errno.h>
#include "amd_powerplay.h"
#include "pp_instance.h"
#include "hardwaremanager.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment