#ifndef __CLKSOURCE_TIMER_SP804_H #define __CLKSOURCE_TIMER_SP804_H struct clk; int __sp804_clocksource_and_sched_clock_init(void __iomem *, const char *, struct clk *, int); int __sp804_clockevents_init(void __iomem *, unsigned int, struct clk *, const char *); void sp804_timer_disable(void __iomem *); static inline void sp804_clocksource_init(void __iomem *base, const char *name) { __sp804_clocksource_and_sched_clock_init(base, name, NULL, 0); } static inline void sp804_clocksource_and_sched_clock_init(void __iomem *base, const char *name) { __sp804_clocksource_and_sched_clock_init(base, name, NULL, 1); } static inline void sp804_clockevents_init(void __iomem *base, unsigned int irq, const char *name) { __sp804_clockevents_init(base, irq, NULL, name); } #endif s='form'>
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEwan D. Milne <emilne@redhat.com>2017-01-09 16:33:36 -0500
committerMartin K. Petersen <martin.petersen@oracle.com>2017-01-17 13:58:57 -0500
commit9373eba6cfae48911b977d14323032cd5d161aae (patch)
tree03734392f22fdafef98505897cd9855688ed2ec2
parent67d35e70af9cabb663c827e03bc5c1e89b43db72 (diff)
scsi: ses: Fix SAS device detection in enclosure
The call to scsi_is_sas_rphy() needs to be made on the SAS end_device, not on the SCSI device. Fixes: 835831c57e9b ("ses: use scsi_is_sas_rphy instead of is_sas_attached") Signed-off-by: Ewan D. Milne <emilne@redhat.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat