[PATCH] drm/amdgpu: Fix a typo in the include header guard of 'navi12_ip_offset.h'

Yuan, Xiaojie Xiaojie.Yuan at amd.com
Mon Aug 19 01:33:46 UTC 2019


Reviewed-by: Xiaojie Yuan <xiaojie.yuan at amd.com>

Xiaojie

> On Aug 19, 2019, at 12:00 AM, Christophe JAILLET <christophe.jaillet at wanadoo.fr> wrote:
> 
> '_navi10_ip_offset_HEADER' is already used in 'navi10_ip_offset.h', so use
> '_navi12_ip_offset_HEADER' instead here.
> 
> Signed-off-by: Christophe JAILLET <christophe.jaillet at wanadoo.fr>
> ---
> drivers/gpu/drm/amd/include/navi12_ip_offset.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/include/navi12_ip_offset.h b/drivers/gpu/drm/amd/include/navi12_ip_offset.h
> index 229e8fddfcc1..6c2cc6296c06 100644
> --- a/drivers/gpu/drm/amd/include/navi12_ip_offset.h
> +++ b/drivers/gpu/drm/amd/include/navi12_ip_offset.h
> @@ -18,8 +18,8 @@
>  * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
>  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
>  */
> -#ifndef _navi10_ip_offset_HEADER
> -#define _navi10_ip_offset_HEADER
> +#ifndef _navi12_ip_offset_HEADER
> +#define _navi12_ip_offset_HEADER
> 
> #define MAX_INSTANCE                                       7
> #define MAX_SEGMENT                                        5
> -- 
> 2.20.1
> 


More information about the dri-devel mailing list