mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 05:31:15 +00:00
drivers/fmc: The only way to dump the SDB is from debugfs
Driver should not call fmc_sdb_dump() anymore. (actually they can but the operation is not supported, so it will print an error message) Signed-off-by: Federico Vaga <federico.vaga@cern.ch> Tested-by: Pat Riehecky <riehecky@fnal.gov> Acked-by: Alessandro Rubini <rubini@gnudd.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9f757f4152
commit
2071a3e94a
7 changed files with 195 additions and 139 deletions
|
@ -180,6 +180,9 @@ struct fmc_device {
|
|||
uint32_t device_id; /* Filled by the device */
|
||||
char *mezzanine_name; /* Defaults to ``fmc'' */
|
||||
void *mezzanine_data;
|
||||
|
||||
struct dentry *dbg_dir;
|
||||
struct dentry *dbg_sdb_dump;
|
||||
};
|
||||
#define to_fmc_device(x) container_of((x), struct fmc_device, dev)
|
||||
|
||||
|
@ -232,7 +235,6 @@ extern int fmc_match(struct device *dev, struct device_driver *drv);
|
|||
extern int fmc_fill_id_info(struct fmc_device *fmc);
|
||||
extern void fmc_free_id_info(struct fmc_device *fmc);
|
||||
extern void fmc_dump_eeprom(const struct fmc_device *fmc);
|
||||
extern void fmc_dump_sdb(const struct fmc_device *fmc);
|
||||
|
||||
/* helpers for FMC operations */
|
||||
extern int fmc_irq_request(struct fmc_device *fmc, irq_handler_t h,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue