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

From: Yuan, Xiaojie
Date: Sun Aug 18 2019 - 21:33:55 EST


Reviewed-by: Xiaojie Yuan <xiaojie.yuan@xxxxxxx>

Xiaojie

> On Aug 19, 2019, at 12:00 AM, Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> 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@xxxxxxxxxx>
> ---
> 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
>