Commit debb48063a372525c07561cc96c473ae9adefd99

Authored by Harvey Harrison
Committed by Stefan Richter
1 parent a5e6f64dda

ieee1394: mark bus_info_data as a __be32 array

Two access functions get_max_rom and set_hw_config_rom are
changed to take __be32 as well.  Only bus_info_data was
ever passed in so this is OK.  All other uses of bus_info_data
treated it as a be32 value already.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>

Showing 3 changed files with 3 additions and 3 deletions Side-by-side Diff

drivers/ieee1394/csr1212.h
... ... @@ -181,7 +181,7 @@
181 181 struct csr1212_csr {
182 182 size_t bus_info_len; /* bus info block length in bytes */
183 183 size_t crc_len; /* crc length in bytes */
184   - u32 *bus_info_data; /* bus info data incl bus name and EUI */
  184 + __be32 *bus_info_data; /* bus info data incl bus name and EUI */
185 185  
186 186 void *private; /* private, bus specific data */
187 187 struct csr1212_bus_ops *ops;
drivers/ieee1394/hosts.h
... ... @@ -154,7 +154,7 @@
154 154 * to set the hardware ConfigROM if the hardware supports handling
155 155 * reads to the ConfigROM on its own. */
156 156 void (*set_hw_config_rom)(struct hpsb_host *host,
157   - quadlet_t *config_rom);
  157 + __be32 *config_rom);
158 158  
159 159 /* This function shall implement packet transmission based on
160 160 * packet->type. It shall CRC both parts of the packet (unless
drivers/ieee1394/ohci1394.c
... ... @@ -2973,7 +2973,7 @@
2973 2973 return 0;
2974 2974 }
2975 2975  
2976   -static void ohci_set_hw_config_rom(struct hpsb_host *host, quadlet_t *config_rom)
  2976 +static void ohci_set_hw_config_rom(struct hpsb_host *host, __be32 *config_rom)
2977 2977 {
2978 2978 struct ti_ohci *ohci = host->hostdata;
2979 2979