Skip to content

Commit

Permalink
rocker: rename rocker.h to rocker_hw.h
Browse files Browse the repository at this point in the history
Since "rocker.h" file is going to be used for different purpose,
rename the hardware-specific header to "rocker_hw.h".

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jiri Pirko authored and David S. Miller committed Feb 18, 2016
1 parent b15edf8 commit 0fe685f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/rocker/rocker.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#include <linux/io-64-nonatomic-lo-hi.h>
#include <generated/utsrelease.h>

#include "rocker.h"
#include "rocker_hw.h"

static const char rocker_driver_name[] = "rocker";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* drivers/net/ethernet/rocker/rocker.h - Rocker switch device driver
* Copyright (c) 2014 Jiri Pirko <jiri@resnulli.us>
* drivers/net/ethernet/rocker/rocker_hw.h - Rocker switch device driver
* Copyright (c) 2014-2016 Jiri Pirko <jiri@mellanox.com>
* Copyright (c) 2014 Scott Feldman <sfeldma@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
Expand All @@ -9,8 +9,8 @@
* (at your option) any later version.
*/

#ifndef _ROCKER_H
#define _ROCKER_H
#ifndef _ROCKER_HW_H
#define _ROCKER_HW_H

#include <linux/types.h>

Expand Down

0 comments on commit 0fe685f

Please sign in to comment.