summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aic7xxx/aic7770.c
diff options
context:
space:
mode:
authorSam Protsenko <semen.protsenko@linaro.org>2018-08-29 20:00:15 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2018-08-30 07:41:09 -0400
commitcca6cb8ad7a868f4ae03827e520b9ad7f37f6622 (patch)
tree03c0f43212f13758908ee3a6edb8d3ad0e7bf0f8 /drivers/scsi/aic7xxx/aic7770.c
parentb6876a8407d042de369105e8c86299c83a4fdab1 (diff)
downloadblackbird-op-linux-cca6cb8ad7a868f4ae03827e520b9ad7f37f6622.tar.gz
blackbird-op-linux-cca6cb8ad7a868f4ae03827e520b9ad7f37f6622.zip
scsi: aic7xxx: Fix build using bare-metal toolchain
Bare-metal toolchains don't define __linux__, so aic7xxx build with bare-metal toolchain is broken. This driver codebase used to be partially shared with FreeBSD, but these days there is no point in keeping the compatibility around. So let's just drop FreeBSD related code and get rid of __linux__ checking in order to fix the build using bare-metal toolchains. Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/aic7xxx/aic7770.c')
-rw-r--r--drivers/scsi/aic7xxx/aic7770.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/scsi/aic7xxx/aic7770.c b/drivers/scsi/aic7xxx/aic7770.c
index 5000bd69c13f..176704b24e6a 100644
--- a/drivers/scsi/aic7xxx/aic7770.c
+++ b/drivers/scsi/aic7xxx/aic7770.c
@@ -42,15 +42,9 @@
* $FreeBSD$
*/
-#ifdef __linux__
#include "aic7xxx_osm.h"
#include "aic7xxx_inline.h"
#include "aic7xxx_93cx6.h"
-#else
-#include <dev/aic7xxx/aic7xxx_osm.h>
-#include <dev/aic7xxx/aic7xxx_inline.h>
-#include <dev/aic7xxx/aic7xxx_93cx6.h>
-#endif
#define ID_AIC7770 0x04907770
#define ID_AHA_274x 0x04907771
OpenPOWER on IntegriCloud