summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2016-02-16 17:14:40 +0300
committerDavid S. Miller <davem@davemloft.net>2016-02-18 07:08:34 +0300
commit0fe685f6a2831c8868e0a4389c76521d7fd42026 (patch)
tree7b32fa37976d4c7771e6bcc9a821039631c61905 /drivers
parentb15edf852a2a92ccc0ad77340b9d032545953c43 (diff)
downloadlinux-0fe685f6a2831c8868e0a4389c76521d7fd42026.tar.xz
rocker: rename rocker.h to rocker_hw.h
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/rocker/rocker.c2
-rw-r--r--drivers/net/ethernet/rocker/rocker_hw.h (renamed from drivers/net/ethernet/rocker/rocker.h)8
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/ethernet/rocker/rocker.c b/drivers/net/ethernet/rocker/rocker.c
index e91efd70427d..3f1849877356 100644
--- a/drivers/net/ethernet/rocker/rocker.c
+++ b/drivers/net/ethernet/rocker/rocker.c
@@ -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";
diff --git a/drivers/net/ethernet/rocker/rocker.h b/drivers/net/ethernet/rocker/rocker_hw.h
index 12490b2f6504..2adfe88859f2 100644
--- a/drivers/net/ethernet/rocker/rocker.h
+++ b/drivers/net/ethernet/rocker/rocker_hw.h
@@ -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
@@ -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>